WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Global Content Blocks

Creates shortcodes to add HTML, PHP, forms, opt-ins, iframes, Adsense, code snippets, reusable objects, etc, to posts/pages and preserves formatting.

Global Content Blocks lets you create your own shortcodes to insert reusable code snippets, PHP or HTML including forms, opt-in boxes, iframes, Adsense code, etc, into pages and posts as well as widgets and directly into php content. You can insert them directly using shortcodes or via a button in the TinyMCE visual editor toolbar. You can also insert the entire content of the Content Block instead of the shortcode or use other shortcodes within the Content Block. You can also modify the output of the Content Block via a hook.

It is ideal for inserting reusable objects into your content or to prevent the WordPress editor from stripping out your code or otherwise changing your formatting. The shortcodes are masked as images to allow easy manipulation and non-html tags contamination.

You can also use your own variables, WordPress global variables and other shortcodes within Content Blocks, modify the output, use shortcodes in themes and widgets, nest shorcodes and a whole lot more. See http://wpxpert.com/category/gcb-advanced-usage/ for more information.

The plugin includes an Import/Export fuction to copy content blocks from one WordPress site to another.

Further information and screenshots are available on the plugin homepage at http://wpxpert.com/global-content-blocks/.

As featured on ManageWP Blog (http://managewp.com/global-content-blocks) and Spanky Media (http://spankymedia.com.au/using-wordpress-global-content-blocks-to-promote-your-content/).

If you have any feedback, issues or suggestions for improvements please leave a comment on the plugin homepage and if you like the plugin please give it a rating at http://wordpress.org/extend/plugins/global-content-blocks :-)

Requires: 2.8.6 or higher
Compatible up to: 3.8.3
Last Updated: 2014-3-23
Downloads: 42,039

Ratings

4 stars
4.8 out of 5 stars

Support

7 of 8 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,2,2
100,2,2
25,12,3 100,2,2 100,1,1
100,2,2 100,2,2 100,2,2 100,2,2
100,1,1
100,1,1 100,2,2 100,1,1 100,2,2 100,3,3
100,1,1
100,2,2
100,1,1
100,1,1 0,1,0
100,1,1
100,4,4 100,1,1 100,1,1
100,1,1 100,3,3 100,1,1
100,1,1 100,1,1
0,1,0 100,1,1 100,3,3 100,4,4
100,1,1 100,4,4
100,3,3
100,1,1 100,1,1 100,1,1 100,1,1
100,2,2
100,2,2
0,1,0
100,1,1
100,2,2
100,1,1