Generate and add a simple wavy divider to anywhere on your page, giving you the ability to separate blocks of content with an impressive, professional-looking design element.
- Color settings, including opacity.
- Choose between wide, normal, and full width
- Choose between rounded edges and stright lines
- Fine tune curves and lines with built-in controls
- Supports top or bottom shapes
- Stack multiple dividers with group block (see below)
- Gradients – easy to use (see below)
- Control height, number of points, and direction
- Use a single, smooth point to give you a curved divider
To use a gradient, you need to wrap the wavy divider in a group block and apply the gradient to the group block. After that, create a wavy shape and apply a color that matches your content background (e.g. white). You can then switch the direction of the divider (under settings) to give a mirrored effect. This way the gradient is applied to the group block and the wavy divider acts as a mask.
If nesting the wavy divider in a group block, you may want to remove the padding and margins so that the wavy divider will not have spacing around it. To handle this, select the group block, and under “Advanced” (at the bottom of the settings area) add these two classes:
Within the block inserter, under the Patterns tab, select ‘Wavy Divider’ from the dropdown menu to view some example patterns.
This plugin provides 1 block.
- Wavy Divider A colorful, fun, lightweight divider block to energize your website with character and pizazz
- Install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
Contributors & Developers
“Wavy Divider” is open source software. The following people have contributed to this plugin.Contributors
- Feature: Add viewBox fine tuning to fix instances where a tiny pixel gap my appear
- Feature: Center wave when only 1 point is selected and is smooth
- Update: Updated the patterns to work with 6.2
- Tweak: Load patterns in init and check for function_exists
- Tweak: Prevent attempting to load patterns if function doesn’t exist
- Removed seasonal patterns
- Added one new pattern
- Chore: Update npm packages + test for WP 6.2
- Fix: Remove lock file to save space
- Fix: Update spacer block in example to be compatible when Gutenberg plugin is disabled
- Feature: Add controls to fine tuning
- Feature: Add better line control
- Feature: Allow single peak curves
- Tweak: Adjust height, points, etc without changing peaks
- Fix: Add pattern examples, including Valentine’s Day themed
- Fix: Swap fill-opacity attribute with opacity styling.
- Tweak: Clamp default state to integers
- Fix: Move default attributes to index.js file – block.json isn’t currently being loaded when imported from block library interface.
- Fix: Fix missing build files
- Fix: Disable examples until feature is more stable
- Feature: Add two examples tot he pattern library
- Enhancement: Add wp_set_script_translations
- Tweak: Change shuffle button to secondary button styling
- Fix: Add title prop to
- Initial release