Creating Content Dividers With the Wavy Divider WordPress Plugin – WP Tavern


Kevin Batdorf, the Challenge Lead Developer at Extendify, launched the Wavy Divider plugin earlier this week. It’s described as “a colourful, enjoyable, light-weight divider block to energise your web site with character and pizazz.”

As somebody who believes each Friday must be formally titled “Enjoyable Friday,” how might I not set up and activate it?

I’ve not seen many block plugins make use of a random design possibility earlier than, and Wavy Divider would be the first. Its foremost setting is a “shuffle waves” management. When a person clicks it, the divider is regenerated with new areas for its peaks and valleys.

Wavy Divider in the WordPress block editor, a colorful section for breaking up content.
Including the primary Wavy Divider.

I’ve combined emotions in regards to the shuffling possibility. One facet of me needs to know what I get earlier than I hit the button, and the opposite is pleasantly having fun with the randomness of all of it. Customers preferring tight management over every level the place every wave rises or slopes down would possibly need to look elsewhere.

The plugin will not be completely a jumble of unpredictability. It presents a handful of different choices for customers to exert some management over its output. There are toggles for the divider’s smoothness and route. The previous switches between the default wavy fashion and its straight-lined inflexible counterpart. The latter strikes the wave move from the underside to the highest and vice versa.

Customers can set the divider’s top, factors, and opacity. There may be additionally a colour possibility.

When you actually need to get inventive, the best choice is mixing and matching it with the core Group and Cowl blocks. The plugin’s documentation walks customers by way of creating a mirrored gradient impact through the use of two dividers inside a Group. I adopted the instructions and constructed a gradient river that flowed throughout the display screen:

An orange, pink, purple, and blue wavy gradient flowing across the screen.
Two dividers inside a Group block with a gradient.

In the correct fingers, it’s completely potential to buff out a number of the roughness, placing an expert sheen on high of all of it.

I threw collectively an intro part for a health or journey weblog. The purpose was to create the looks of a website proprietor with persona. Nonetheless, higher designers will use it to piece collectively one thing distinctive to their manufacturers.

Section with sunset gradient background on top of a mountain-shaped black divider.
Journey weblog intro part with backside divider.

Half the enjoyable of this plugin is making an attempt out-of-the-ordinary mixtures with different blocks. The opposite half is discovering new shapes through the shuffle possibility.

You can too use the plugin to your subsequent low-budget horror movie’s cowl artwork (this was completely an experiment gone bizarre when testing this plugin, however I figured I might share anyway ):

A portrait-oriented box with the woods and moon faded into the background.  Covering it is a green slime running from top to bottom.

There’s a little one thing for anybody with an creativeness or sufficient time to repeatedly click on the “shuffle waves” button till they land on that excellent wave form. As I stated, it’s Friday, and we must always all let unfastened and have just a little enjoyable.

I are inclined to bookmark tasks with well-structured code for my very own edification, and Wavy Divider suits that mildew. For builders who need comparatively easy examples of block growth to review, it could be exhausting to go improper utilizing it as a place to begin. The code is available on GitHub.


Leave a Reply

Your email address will not be published.