WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Reusable Text Blocks

Create reusable pieces of content that you can insert into themes, posts, pages & widgets.

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'); } ?>

Requires: 3.5 or higher
Compatible up to: 4.7
Last Updated: 3 months ago
Active Installs: 8,000+

Ratings

4.9 out of 5 stars

Support

0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,2,2
0,1,0
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1