The Label Replacer is a simple WordPress plugin designed to automatically replace specific text labels on your website. With an easy-to-use syntax, you can define labels and have them replaced within your website's text with your desired text. This plugin is perfect for changing terms or phrases across your pages without having to edit each page individually.
- Define unique labels easily with a simple syntax.
- Automatically replace labels within your text.
- Define labels anywhere on the page
- Also works with embedded content and plugins (e.g. Insert Pages Plugin)
- Allow usage of WP HTML elements within labels (e.g. Links)
- Download the plugin files from this repository.
- Navigate to your WordPress admin, go to
Plugins -> Add New -> Upload Plugin. - Choose the plugin file you downloaded and click
Install Now. - After installation, click
Activateto activate the plugin.
- Define a label anywhere in your post or page content using the following syntax:
Example:
{{label:YourLabel=YourReplacementText}}{{label:DeviceVersion=v1.0}} - Now, wherever you want to replace the label with the text, use the following syntax:
Example:
{{label:DeviceVersion}}This Guide is for Device Version {{label:DeviceVersion}}. - The plugin will automatically replace the label with the defined text:
This Guide is for Device Version v1.0.
The settings page can be found under the WordPress settings.
Allow HTML: Allows the use of HTML elements such as links within the labels.
Warning
This setting should only be used if the admins and authors are aware of the risks when using HTML elements!
This project is licensed under the GNU General Public License v3.0.
Please note that the maintenance of this plugin is not continuous and not guaranteed. For support, feature requests, or bug reporting, please use GitHub.
Contributions are welcome! Feel free to open a pull request or issue on GitHub!