How to Add Page Loading Transition Effects in WordPress?

Table of Contents

Adding page loading transition effects to your WordPress website can create a smoother and more engaging user experience. Transition effects add a visual effect to the page load process, which can reduce the perception of waiting and make the site feel more responsive.

With the Preloader block from the Nexter Blocks, you can add beautiful page transition effects after the page loading animation.

To check the complete feature overview documentation of The Nexter Blocks Preloader block, click here.

Requirement  – This block is a part of The Nexter Blocks, make sure its installed & activated to enjoy all its powers.

To do this, add the Preloader block on the page or template.

After you’ve set your preloader in the Pre Loader tab, go to the Page Transition tab.

preloader page transition 1

You can select different page transition effects from the Transition dropdown.

For some transition effects, you’ll get a Direction option. From there, you can choose the direction of the transition animation.

You can also add an out transition effect as well. This will play when you navigate to another page. 

To do this, enable the Out Transition toggle.

preloader page out transition 1

In the Transition dropdown, you’ll get the same page transition effects option as in the previous transition dropdown.

Make sure to set the same transition effects in both the Transition dropdown to make it work properly.

From the Direction dropdown, you can set the direction of the out transition animation for some page transition effects.

Note: You can set different page transition directions for both in transition and out transition.

You’ll get color options for some page transition effects.

Then you’ll find Exclude Class option, from here, you can exclude some elements by their class name, so clicking on them, the out transition will not play. 

You can add multiple class names separated by commas.

Generally, when you have set an out transition, it will play whenever you navigate to another page by clicking on a link.

For example, we have a button on a page and don’t want to show the out transition when someone clicks on it.

To do this, first, use the browser Inspect Element to find the class of the button. Copy the class name and paste it into the Exclude Class field.

preloader button block exclude class 1

Now when someone clicks that button, the out transition will not play. 

This way, you can exclude certain elements like form buttons where you don’t want to show out transition when submitting a form.

preloader page transition demo

Also, check How to Combine Multiple Preloader Animations on a Page in WordPress.

Still in Doubt? Let’s Assist You

Need Help? Ask AI Bot

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Docs