Word Switch - Add word switching functionality in Gutenberg
Description
A lightweight WordPress plugin that adds word-switching functionality to Gutenberg’s Paragraph and Heading blocks, allowing users to dynamically replace or rotate selected words for more engaging and flexible content presentation.
Installation
-
Download or install the plugin.
-
Activate the plugin in your WordPress admin panel
How to use?
A lightweight WordPress plugin that adds word-switching functionality to Gutenberg editor's
Paragraph and Heading blocks, allowing users to dynamically replace or rotate
selected words for more engaging and flexible content presentation.
With this plugin, WordPress gutenberg editor’s paragraph and heading block get an extra format named ‘word switch’.
[
Currently, the comma ( , ) is the only supported separator. Support for custom and flexible separator characters is under development and will be available soon.
Development
-
Clone this repository into your WordPress plugins directory:
cd wp-content/plugins git clone [repository-url] word-switch -
Install dependencies:
cd word-switch npm install -
Build the plugin:
npm run build
Changelog
== 1.1.1 ==
- Video instruction added
== 1.1.0 == - Multiple seperate word switching feature
== 1.0.2 == - Change prefix WS to WORD_SWITCH
- Made zip for wordpress.org
== 1.0.1 == - Change prefix WS to WORD_SWITCH
- Made zip for wordpress.org
== 1.0.0 == - Add word switching functionality in Gutenberg