You won't believe WordPress can do this!

Jamie Marsland
28 Feb 202408:04

Summary

TLDRDas Transkript scheint eine Anleitung für die Erstellung von speziellen Effekten auf einer WordPress-Website zu enthalten. Es werden Dinge wie Scroll-Animationen, Übergangseffekte zwischen Cover-Blöcken und Möglichkeiten zum Freistellen von Bildern vorgestellt. Der Autor zeigt Schritt für Schritt, wie diese Effekte mit den standardmäßigen WordPress-Blöcken erstellt werden können und lobt die Flexibilität des Gutenberg-Editors. Insgesamt wirkt es wie ein interessantes Tutorial für die Gestaltung ansprechender Webseiten mit WordPress.

Takeaways

  • 🎨 Jeder der Effekte wurde nur mit dem WordPress Cover-Block und etwas Vorstellungskraft erstellt.
  • 🔍 Einige Effekte wurden geplant, andere durch Zufall beim Experimentieren entdeckt.
  • 📚 Der vorgestellte Effekt erinnert an die beweglichen Bilder in Kinderbüchern und schafft eine natürliche Bewegung im Hintergrund.
  • 🛠️ Die Erstellung basiert auf zwei Ebenen im Editor, wobei eine Ebene fixiert ist und die andere beim Scrollen bewegt wird, um Bewegung zu simulieren.
  • 🔑 Startpunkt ist das Hinzufügen eines Cover-Blocks über eine Tastenkombination und Auswahl eines Hintergrundbildes aus der Medienbibliothek.
  • ⚙️ Anpassungen umfassen das Einstellen der Vollbildhöhe und -breite, das Reduzieren der Überlagerungsopazität und das Entfernen jeglicher Polsterung.
  • 🌄 Ein zweiter Cover-Block wird für die Vordergrundebene hinzugefügt, wobei die Hintergrundebene als fixiert eingestellt wird, um eine Trennung zu erzeugen.
  • 📏 Die Anleitung beinhaltet Tipps zur Nutzung von CSS für erweiterte Effekte, wie z.B. das Scroll-Snap-Feature.
  • 🖼️ Inspiration für einen Animationseffekt wurde von den historischen Fotografien von Edward Moy Bridge und der ersten Filmherstellung genommen.
  • 🛠️ Weitere Effekte beinhalten die Nutzung des Free 20 Plugins für Hover-Effekte und die Anwendung des Block Visibility Plugins für eine bessere mobile Darstellung.

Q & A

  • Was ist der Kernpunkt des Videos, das auf WordPress basiert?

    -Der Kernpunkt des Videos ist die Demonstration, wie man beeindruckende visuelle Effekte auf einer WordPress-Website nur mit dem Kern-WordPress-Cover-Block und etwas Kreativität erstellt.

  • Wie werden die beschriebenen Effekte im Video erstellt?

    -Die Effekte werden durch die Verwendung des WordPress-Cover-Blocks und das Anpassen seiner Einstellungen, wie z.B. Festlegen eines fixierten Hintergrunds und Anpassen der Überlagerungsopazität, erstellt.

  • Was ist das besondere an dem Effekt mit den Sternen und dem Mond im Video?

    -Der besondere Effekt besteht darin, dass beim Scrollen der Seite die Sterne und der Mond nach oben bewegt werden, während die Berge fest an ihrer Position bleiben, was eine natürliche Bewegung erzeugt.

  • Wie wird im Video die Illusion von Tiefe und Bewegung erzeugt?

    -Die Illusion von Tiefe und Bewegung wird durch die Verwendung von zwei Schichten im Cover-Block erzeugt, wobei eine Schicht einen fixierten Hintergrund hat und die andere beim Scrollen bewegt wird.

  • Was ist notwendig, um den im Video beschriebenen Parallax-Effekt zu erstellen?

    -Um den Parallax-Effekt zu erstellen, benötigt man zwei Cover-Blöcke: einen für den Hintergrund mit Sternenhimmel und Mond und einen weiteren für die Vordergrundberge, wobei der Hintergrund fixiert wird.

  • Wie wird der Scroll-Snap-Effekt im Video erzielt?

    -Der Scroll-Snap-Effekt wird durch das Hinzufügen mehrerer Cover-Blöcke und das Anwenden von CSS erreicht, um einen nahtlosen Übergang zwischen den Abschnitten beim Scrollen zu schaffen.

  • Was ist der 'font reverse' Effekt, der im Video erwähnt wird?

    -Der 'font reverse' Effekt wird erzeugt, indem zwei Cover-Blöcke mit Bildern, die zueinander invers sind, hinzugefügt und beide mit einer fixierten Einstellung versehen werden, um beim Scrollen einen einzigartigen Übergang zu erzeugen.

  • Wie wird der Animationseffekt inspiriert von Edward Moy Bridge im Video erstellt?

    -Der Animationseffekt wird durch das Hinzufügen einer sequenziellen Serie von Fotografien als Cover-Blöcke mit fixiertem Hintergrund erstellt, ähnlich der ersten Filmtechnik von Edward Moy Bridge.

  • Was ist der Zweck des 'Rick roll' Effekts im Video?

    -Der 'Rick roll' Effekt dient dazu, eine humorvolle oder überraschende Komponente durch das Einblenden eines unerwarteten Elements beim Überfahren eines Bildes mit der Maus hinzuzufügen.

  • Warum könnte es notwendig sein, ein Plugin wie 'Block Visibility' für iPhone-Nutzer zu verwenden, wie im Video erwähnt?

    -Es könnte notwendig sein, ein Plugin wie 'Block Visibility' zu verwenden, weil die fixierte Hintergrundeigenschaft auf iPhones nicht korrekt angezeigt wird, was die Notwendigkeit einer alternativen Lösung für Mobilgeräte aufzeigt.

Outlines

00:00

😊 Wie man parallaxen Scroll-Effekte in WordPress erstellt

Dieser Absatz erklärt, wie man parallaxen Scroll-Effekte in WordPress mit dem Cover-Block und geschichteten Hintergründen erstellt. Es wird gezeigt, wie man zwei Ebenen übereinander legt, wobei die obere Ebene fixiert ist und die untere Ebene beim Scrollen mitläuft. So entsteht eine 3D-Illusion mit Tiefe.

05:01

😃 Wie man Snap-Scroll mit CSS in WordPress implementiert

Dieser Absatz demonstriert die Implementierung von Snap-Scroll in WordPress mit CSS und Cover-Blöcken. Mehrere Cover-Blöcke werden gruppiert, mit einer Klasse versehen und die passende CSS wird hinzugefügt, sodass beim Scrollen zwischen den Cover-Block-Abschnitten gesprungen wird.

Mindmap

Keywords

💡WordPress

WordPress is an open-source content management system used to build websites. It is mentioned numerous times in the video as the tool being used to create the visual effects on web pages.

💡cover block

Cover blocks are a type of content block in WordPress's Gutenberg editor. They are sections with images/video backgrounds and overlay content. The presenter explains how creatively using multiple cover blocks enables many of the scroll effects in the video.

💡layers

Layers refers to having multiple cover blocks stacked on top of each other, creating a layered effect with parallax scrolling where some layers move faster than others.

💡transparency

Adding transparency to a cover block layer creates see-through effects that reveal lower layers as you scroll.

💡cutout

A cutout refers to an image with part of it removed to reveal background layers. This is used with the mountain images to create a 3D effect.

💡snap

Snap scrolling means contents snaps exactly into place rather than scrolling smoothly. This is achieved by applying some CSS to grouped cover blocks.

💡transition

Creative transitions between sections are achieved by using cover blocks in different combinations - fixing some and letting others scroll.

💡hover effect

The free Twenty Twenty plugin provides options like reveal content on hover. This is used for the Rick Roll trick effect.

💡Midjourney

Midjourney is an AI image generation tool that the presenter used to easily create graphics for the video.

💡mobile

There are limitations displaying fixed cover blocks properly on mobile devices. Plugins are suggested to swap blocks appropriately.

Highlights

Discovery of beautiful effects created on a WordPress website using the core WordPress cover block and imagination.

Effects include natural movements in the background, such as stars and the moon, while maintaining fixed foreground elements.

The process involves using two layers in the editor, with one layer having a cutout and transparency to create a movement effect.

Detailed steps to create effects using the cover block and keyboard shortcuts.

Techniques to adjust overlay opacity and remove padding for a clean layout.

Adding a second layer for foreground elements and adjusting settings to create a fixed background effect.

Capability to insert different types of blocks within the cover block for added flexibility.

Creation of a 3D effect by layering elements and manipulating the background and foreground.

Introduction of the scroll snap feature for smooth transitions between cover block sections.

Using a series of cover blocks to create a fixed background effect and stack them for visual appeal.

Utilizing CSS for further customization and adding class names for styling.

Implementation of a Rick roll effect with the use of the Hover Effect feature in a plugin.

Adapting techniques from Edward Moy Bridge's work to create film-like effects with sequential photographs.

Utilizing Midjourney to create images with easy-to-use controls for aspect ratio and region variation.

Addressing compatibility issues on iPhone and suggesting alternatives like the Block Visibility plugin.

Encouragement to interact with the content, highlighting the impact of likes on video visibility and treating pets.

Transcripts

play00:15

Last week I discovered the most beautiful things

play00:17

that I've ever created on a WordPress website.

play00:20

They're super easy to do.

play00:21

I'm gonna show you step by step how to do them,

play00:23

but first, here they are.

play01:09

Every single one of those effects was created just using the

play01:12

core WordPress cover block and a sprinkling of imagination.

play01:14

Some of them I planned, uh,

play01:16

but some of them were just discovered by accident

play01:19

as I toed away and got slightly obsessed for the week,

play01:21

just pushing the boundaries of what was possible just

play01:24

with the core WordPress blocks.

play01:26

Let's start with this one. You can see as I scroll the page

play01:28

how the background stars move up and the moon moves up,

play01:31

but the mountains are fixed in their position,

play01:33

so you get this fantastic natural movement.

play01:36

It reminds me a little bit of the books that I used

play01:38

to read my kids at bedtime, but it's expected

play01:41

and really beautiful.

play01:42

You get this lovely sort of cutout

play01:43

and very crafty feel to your pages.

play01:46

I'm gonna show you how to build this on your own sites when

play01:48

we dive into Gutenberg.

play01:49

But to start with a tiny bit of theory on

play01:51

how this is working, two pieces

play01:53

of paper, we're going very old school.

play01:55

So essentially how we're doing this in the editor

play01:57

and I will take you into it is we've got two layers.

play01:59

We've got this first layer here and this second layer here.

play02:02

This first layer has a cutout and a transparency,

play02:05

and as the user scrolls the page,

play02:06

the fixed element stays fixed,

play02:08

but the background moves up naturally with the scroll,

play02:10

so it creates the effect of movement.

play02:13

So start by adding the cover block.

play02:14

So we're gonna use the keyboard shortcut forward slash

play02:16

cover, then hit return.

play02:18

Now choose media library,

play02:20

and we're gonna select our background layer.

play02:22

Now for us it's gonna be our starry sky and our moon.

play02:25

Then just click select in the bottom right hand

play02:27

corner to add that in.

play02:29

Now we're gonna make this full height by clicking

play02:31

that little icon on the top,

play02:33

and we're also gonna make it full width.

play02:37

Next we're gonna go over to the block settings panel

play02:39

and we're gonna reduce the overlay opacity

play02:42

by just sliding that down to the left.

play02:45

And then finally, we're gonna remove any padding

play02:47

because each cover block has some natural padding to the top

play02:51

and the bottom, you won't see it though.

play02:52

So slide the slider to the right

play02:54

and then fully to the left

play02:56

to remove any padding from the top and the bottom.

play02:58

And then do exactly the same for the left and the right.

play03:01

Next up we're gonna add our second layer,

play03:03

which is also gonna be a cover block, so four slash cover.

play03:06

But this time we're gonna add the foreground

play03:08

mountains that we've cut out.

play03:09

I will show you a super easy way

play03:12

to cut out images in a few minutes time.

play03:14

And for this one also we want to make it full height

play03:17

by choosing that little icon on the top.

play03:19

And we're also gonna make it full width.

play03:21

And now we have our two layers together,

play03:22

but you can see as I move at the page,

play03:24

they're both moving with the scroll.

play03:26

We need to make the first layer have a fixed background.

play03:29

So just come across to the right in the block settings

play03:31

panel, making sure you have the top layer selected,

play03:34

and just choose fixed background.

play03:37

Now you can see we've got this lovely separation.

play03:40

So as we scroll at the page, the background layer moves,

play03:43

but the foreground remains static.

play03:45

And of course, because it's the cover block,

play03:47

we can put any other blocks within it, paragraph block,

play03:49

or in this case a buttons block, anything you like.

play03:51

And what I really love about this is you get this

play03:53

fantastic 3D effect.

play03:55

You can see the background layer here with our moon,

play03:57

but our text here, those are both actually on the same

play04:00

layer, but our mountains are sandwiched between it.

play04:03

So we get this amazing,

play04:04

beautiful effect really in no time at all.

play04:06

It's super easy to do,

play04:07

but I just think it's absolutely stunning.

play04:15

Next up is the scroll snap.

play04:16

You can see as I'm scrolling down the page,

play04:18

it's snapping exactly to the next cover block.

play04:21

So you get these wonderful transitions

play04:23

between each cover block section.

play04:25

Let's jump into the site editors

play04:26

to show you exactly how I've done this.

play04:28

So the first thing is you just add a whole bunch

play04:30

of cover blocks here.

play04:31

You can see on the left, the first one I fixed.

play04:33

So the first one, I set the background

play04:35

as fixed and I add an image.

play04:37

The second one, I don't set as fixed background,

play04:40

and then you get this lovely effect

play04:41

as it stacks on top of it.

play04:42

The third one, I also fix the background.

play04:45

So you can see now as I scroll up, that's fixed,

play04:47

and then that third one is fixed.

play04:49

But the fourth one, I don't fix the background.

play04:51

It's up to you how you play around with those.

play04:53

That's just what I like to do on this one.

play04:54

Then you have to group them all.

play04:56

So you put them all in a group.

play04:57

And that group you have to put in a tiny bit of CSS first,

play05:01

you have to give it a class name.

play05:02

You can see down here, I've given it a class name.

play05:04

Then you add the CSS.

play05:05

I will put a link to the exact CSS in a link in the

play05:09

description, so you can just copy and paste it.

play05:11

Here's the code snippet that I used.

play05:13

I actually generated this using chat GPT.

play05:15

This is the code snippet that I use to do the snap

play05:18

to scroll, but as I say,

play05:19

I'll put the link in the description so you can just copy

play05:21

and paste this into your own insights.

play05:28

The font reverse is actually super easy.

play05:30

I saw this effect on somebody else's website

play05:32

and really liked it and tried to recreate it,

play05:34

and it's pretty straightforward.

play05:35

All you have to do is add two cover blocks

play05:37

and then add two images, one the reverse or the other one,

play05:40

and then all you need to do is fix each one.

play05:43

So if I fix the first one

play05:44

and then fix the second one using our fixed settings.

play05:47

You see as I scroll up,

play05:48

you get this amazing transition effect.

play05:55

The next effect, which I call the animation,

play05:57

takes inspiration from Edward Moy Bridge's series

play06:00

of photographs, which he pieced together

play06:02

to create the first ever film in 1878.

play06:05

And you can recreate exactly the same effect

play06:07

using Gutenberg.

play06:09

Just add a sequential series of photographs

play06:11

and set each cover block to have a fixed background

play06:20

To add your Rick roll effect.

play06:21

We're gonna add two cover blocks,

play06:23

just like we've done before.

play06:24

Make them exactly the same size,

play06:26

but on your top layer, as in Rick, in my case,

play06:29

you're gonna use the free 20 plugin.

play06:30

Come across to styles in the cover block, come all the way

play06:33

to the bottom and you'll see we've got this brand new option

play06:36

down here, which is Hover Effect.

play06:38

And you've got different options in here.

play06:39

Just select Reveal Content, show Untouch devices,

play06:43

and all the images that you're seeing

play06:44

that I used today are created using the alpha of Midjourney,

play06:47

which is just fantastic because you get all these easy

play06:49

to use controls down here, which normally you'd have

play06:53

to put in as text prompts, but now you can just use these.

play06:55

It's super easy. For example,

play06:57

you can do things like change the aspect ratio just like so.

play07:00

And you can also do things like very regions, super easy.

play07:03

So if you wanted to remove the moon here, you can just

play07:07

circle around it like that.

play07:08

And then just change the prompt down here.

play07:11

There is one thing to note though.

play07:12

The fixed property doesn't display properly on a iPhone.

play07:15

It'll display, but it just won't be fixed to the background.

play07:18

It'll look okay, but you might want

play07:19

to consider using a plugin like the Block Visibility plugin

play07:22

by Nick Diego, which is free, so you can swap

play07:25

that out on a mobile phone

play07:26

and display a different set of blocks

play07:28

or just a different version of

play07:30

what you've designed in the block editor.

play07:32

Hope you enjoyed that one.

play07:33

If you did, if you can give it a like, that'd be amazing

play07:34

because it makes a huge, huge, huge,

play07:36

huge difference in terms of

play07:37

how many people get to see this video.

play07:39

It really, really does. So thank you.

play07:40

If you can also, every time you do hit that like button,

play07:43

our cats get a little treat.

play07:57

If you want to see other examples of

play07:59

what I've just shown you, watch this video.

play08:01

Otherwise, keep well, and I'll see you soon. Bye for now.

play08:03

Bye.

Rate This

5.0 / 5 (0 votes)

Do you need a summary in English?