Blocky! – Additional Content Blocks

0

Have ever encountered the need to add new sections to your page content without needing to add divs to your content, editing your theme files or using a widget? Are you a WordPress novi

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

Have ever encountered the need to add new sections to your page content without needing to add divs to your content, editing your theme files or using a widget? Are you a WordPress novice and have no idea what that previous sentance means? Fear no longer – Blocky! is here.

Blocky! allows you to add a new section to the content of your posts and pages without needing to know any web coding. Simply click on the “Add New Content Section” button and get typing. Blocky! brings in a new WYSIWYG editor, allowing you to add more content the same way you would with your main post content. Want to change the layout of your additional content sections? Simply add classes to your content section and use your stylesheet to do the rest. Would you rather not wrap your content in a div? Simply edit it in the settings page. Only want to use Blocky! on select post types? You can choose which post types to enable Blocky! from the settings page. Blocky! also grabs the current setting for the WYSIWYG editors, meaning that your Blocky! editors are consistent with the content editors even if you are using a plugin such as TinyMCE Advanced that extends the capabilities of the editor.

For more advanced uses, use the get_additional_content( $postID ); to return Blocky!’s additional content as a multidimensional array with each section containing an array with both the class and the content. See “Other Notes” for more details.

If you like the plugin, please take the time to leave a review.

Advanced Use Case

To use Blocky! without the content filter, use this template

Replace <?php the_content();?> with <?php echo do_shortcode( get_the_content() );?>

Where you want your additional content to display, add this code

<?php $additional_content = get_additional_content();
for( $i = 0; $i < count($additional_content); $i++ ) {
    echo $additional_content[$i]['content'];
}?>