Plugin URL:https://wordpress.org/plugins/reusable-text-blocks/
Plugin Author: Hal Gatewood
WordPress profile: Hal Gatewood
Last updated: March 30, 2021 (3 years ago)
Tested up to (WP version): WP 5.7.10
Downloaded: 0
Rating: 5 (out of 5)
Description
This plugin creates a new ‘text-blocks’ custom post type with it’s own section in the WordPress admin sidebar. It uses the standard WordPress user interface so you and your clients will know how to use it instantly.
New in Version 1.5: Variables! You can add {{player}} to your text block content and then pass in ‘player’ to the shortcode: [text-blocks id=”1″ player=”Hal Gatewood”]
You can add it to your site in three ways:
1. Widget
The included widget allows you to specify which block you want to insert. You can also include a title if needed.
2. Widget
[text-blocks id="1"] or [text-blocks id="text_block_slug"]
3. PHP Function
A PHP function has been setup so you do not have to use the do_shortcode function.
<?php if(function_exists('show_text_block')) { echo show_text_block(421); } ?>
<?php if(function_exists('show_text_block')) { echo show_text_block('slug'); } ?>
FAQ
Screenshots:
Text Blocks list view, with quick view of content and shortcode.
Uses standard WordPress functionality. No surprises, you already know how to use it.
Widget included
New in 1.4.6: Media Button
Create custom templates
Other notes:
Latest Change log entry:
Tags:
block, content, reusable content, reusable text, widget
+ Jason's Comments
I started using Reusable Text Blocks plugin when in August 2016 Global Content Blocks plugin was removed from the WordPress repository.
More recently I switched to using Reusable Content & Text Blocks by Loomisoft for it’s compatibility with page builders.