跳到内容

Blocky! – Additional Content Blocks

v1.2.8

Cameron Jones · 2015年8月8日 上架

Blocky! is a revolutionary new way to manage your content and add additional sections to your page content with no theme editing required!

正在使用
20+
评分
5.0 / 5
累计下载
4,888
最近更新
2015年9月10日
1 条评价需要 WordPress 4.2+已测试到 4.3.34

贡献者

截图

The admin interface
The admin interface
Blocky! settings page
Blocky! settings page
Blocky! in action
Blocky! in action

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums