Creates shortcodes to add HTML, PHP, forms, opt-ins, iframes, Adsense, code snippets, reusable objects, etc, to posts/pages and preserves formatting.
The content block will hold up to 64,000 characters.
Yes, just copy the PHP as normal into a content block without the <?php, <?, ?> tags and insert the block into your content as normal.
Simply add the shortcode within a block as normal, for example [gallery] to add a WordPress gallery.
Yes, just wrap it in the PHP function <?php echo gcb(x);?> where x is the content block ID. You can also use the longer form <?php do_shortcode("[contentblock id=x]");?>
Yes, you can add the filter 'gcb_block_output' to modify output by adding a PHP script to functions.php, for example:
add_filter('gcb_block_output', 'alter_block_output');
function alter_block_output($value) {
//process the output here, e.g., convert text to lowercase
$new_value = strtolower($value);
return "Processed output: ".$new_value;
}
No, the blocks are added to the WordPress database so are independent of the theme and unaffected by WordPress upgrades.
Yes, there is an option to delete the database table if you want to completely remove the plugin.
Yes, an Import/Export function is included. Just Export form one site, install the plugin on the other site and import.
Requires: 2.8.6 or higher
Compatible up to: 3.3.2
Last Updated: 2012-5-10
Downloads: 8,565
Got something to say? Need help?