{"id":11867,"date":"2011-01-20T08:13:13","date_gmt":"2011-01-20T08:13:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/content-parts\/"},"modified":"2026-09-18T16:37:28","modified_gmt":"2026-09-18T16:37:28","slug":"content-parts","status":"publish","type":"plugin","link":"https:\/\/gax.wordpress.org\/plugins\/content-parts\/","author":123724,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.8.1","stable_tag":"1.8.1","tested":"7.1.1","requires":"3.9","requires_php":"","requires_plugins":null,"header_name":"Content Parts","header_author":"Ben Huson","header_description":"","assets_banners_color":"0099ff","last_updated":"2026-09-18 16:37:28","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=ZU69EJN4XBP3A","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/content-parts\/","header_author_uri":"https:\/\/github.com\/benhuson\/content-parts","rating":5,"author_block_rating":0,"active_installs":300,"downloads":15163,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"husobj","date":"2011-01-20 08:13:13","revision":334930},"1.1":{"tag":"1.1","author":"husobj","date":"2011-02-06 20:44:32","revision":341632},"1.2":{"tag":"1.2","author":"husobj","date":"2011-12-12 16:37:09","revision":474064},"1.3":{"tag":"1.3","author":"husobj","date":"2012-02-03 14:59:37","revision":499842},"1.4":{"tag":"1.4","author":"husobj","date":"2013-03-04 00:26:07","revision":675811},"1.5":{"tag":"1.5","author":"husobj","date":"2016-09-04 20:18:40","revision":1489839},"1.6":{"tag":"1.6","author":"husobj","date":"2017-11-15 09:20:57","revision":1766829},"1.7":{"tag":"1.7","author":"husobj","date":"2017-12-01 00:13:43","revision":1779146},"1.8":{"tag":"1.8","author":"husobj","date":"2019-01-15 12:36:33","revision":2012675},"1.8.1":{"tag":"1.8.1","author":"husobj","date":"2026-09-18 16:37:28","revision":3702351}},"upgrade_notice":{"Content Parts 1.8":"<p>Added wrapper divs around automatically output content parts.<\/p>","Content Parts 1.7":"<p>Remove automatic output of `` blocks - broke styling on some some sites. Instead provide settings page and <code>content_parts_auto_format_post_types<\/code> filter.<\/p>","Content Parts 1.6":"<p>Automatically output `` blocks around content parts in the main content on single posts and pages. Disable via the <code>content_parts_auto_content<\/code> filter.<\/p>","Content Parts 1.5":"<p>Add post classes ( has-content-parts, content-parts-{n}, no-content-parts).<\/p>","Content Parts 1.4":"<p>Added content_part_args filter and %%part%% placeholder to before\/after strings to replace with content part index.<\/p>","Content Parts 1.3":"<p>All functions can now be passed an array of parameters. Deprecate the_content_part() multiple args - now expects an array.<\/p>","Content Parts 1.2":"<p>Validate &#039;start&#039; and &#039;limit&#039; args are numeric.<\/p>","Content Parts 1.1":"<p>Added count_content_parts() function. props Rory.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":993619,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":993619,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":993619,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":993619,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.8.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1766827,"resolution":"1","location":"assets","locale":"","width":1187,"height":270},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1766827,"resolution":"2","location":"assets","locale":"","width":1187,"height":400}},"screenshots":{"1":"Content Parts editor icon.","2":"Content part divider inserted into the editor."}},"plugin_section":[],"plugin_tags":[529,4036,4516,1141,3469],"plugin_category":[43,46],"plugin_contributors":[77999],"plugin_business_model":[],"class_list":["post-11867","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-layout","plugin_tags-templates","plugin_tags-theme","plugin_tags-the_content","plugin_category-customization","plugin_category-editor-and-writing","plugin_contributors-husobj","plugin_committers-husobj"],"banners":{"banner":"https:\/\/ps.w.org\/content-parts\/assets\/banner-772x250.png?rev=993619","banner_2x":"https:\/\/ps.w.org\/content-parts\/assets\/banner-1544x500.png?rev=993619","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/content-parts\/assets\/icon-128x128.png?rev=993619","icon_2x":"https:\/\/ps.w.org\/content-parts\/assets\/icon-256x256.png?rev=993619","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/content-parts\/assets\/screenshot-1.png?rev=1766827","caption":"Content Parts editor icon."},{"src":"https:\/\/ps.w.org\/content-parts\/assets\/screenshot-2.png?rev=1766827","caption":"Content part divider inserted into the editor."}],"raw_content":"<!--section=description-->\n<p>If you want to spice up your theme layouts this plugin will allow you to show different parts of your content in different area of your theme templates - break out of a single column of content.<\/p>\n\n<p>More information can be found on the <a href=\"https:\/\/github.com\/benhuson\/content-parts\/wiki\">Content Parts plugin page<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the archive file and uncompress it (or install it via your WordPress admin).<\/li>\n<li>Put the \"content-parts\" folder in the \"wp-content\/plugins\" folder<\/li>\n<li>Enable in WordPress by visiting the \"Plugins\" menu and activating it.<\/li>\n<\/ol>\n\n<h4>Upgrading<\/h4>\n\n<p>If you are not performing an automatic upgrade, deactivate and reactivate the plugin to ensure any new features are correctly installed.<\/p>\n\n<h4>Documentation<\/h4>\n\n<p>For full details how to implement this plugin visit the <a href=\"http:\/\/www.benhuson.co.uk\/wordpress-plugins\/content-parts\/\">Content Parts plugin page<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>Unreleased<\/h4>\n\n<h4>Content Parts 1.8.1<\/h4>\n\n<ul>\n<li>Fixed class error for PHP 8.<\/li>\n<li>Content parts should default to empty array.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.8<\/h4>\n\n<ul>\n<li>Add wrapper divs around automatically output content parts.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.7<\/h4>\n\n<ul>\n<li>Don't Automatically output <code>&lt;div&gt;<\/code> blocks - broke styling on some some site.<\/li>\n<li>Added settings page: Select post types to which <code>&lt;div&gt;<\/code> blocks will be automatically added.<\/li>\n<li>Added admin notification if settings page has not been visited.<\/li>\n<li><code>content_parts_auto_format_post_types<\/code> filter added to enable override of admin settings.<\/li>\n<li>Removed the <code>content_parts_auto_content<\/code> filter. Instead use the <code>content_parts_auto_format_post_types<\/code> filter.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.6<\/h4>\n\n<ul>\n<li>Use PHP5 constructors.<\/li>\n<li>Automatically output <code>&lt;div&gt;<\/code> blocks around content parts in the main content on single posts and pages. Disable via the <code>content_parts_auto_content<\/code> filter.<\/li>\n<li>Use SVG images.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.5<\/h4>\n\n<ul>\n<li>Add post classes ( has-content-parts, content-parts-{n}, no-content-parts).<\/li>\n<li>Don't load editor functionality if DOING_AJAX.<\/li>\n<li>Updated Tiny MCE button image.<\/li>\n<li>Tested up to WordPress 4.0<\/li>\n<\/ul>\n\n<h4>Content Parts 1.4<\/h4>\n\n<ul>\n<li>Automatically make content parts work when 'in the loop'.<\/li>\n<li>Added %%part%% placeholder to before\/after strings to replace with content part index.<\/li>\n<li>Add content_part_args filter.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.3<\/h4>\n\n<ul>\n<li>All functions can now be passed an array of parameters.<\/li>\n<li>Deprecate the_content_part() multiple args - now expects an array.<\/li>\n<li>Moved code to a class structure.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.2<\/h4>\n\n<ul>\n<li>Validate 'start' and 'limit' args are numeric.<\/li>\n<li>If $post not set, ignore.<\/li>\n<li>Checked WordPress 3.3 compatibility.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.1<\/h4>\n\n<ul>\n<li>Added count_content_parts() function. props Rory.<\/li>\n<\/ul>\n\n<h4>Content Parts 1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Divide your post content into parts that you can show in different areas of your theme templates.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11867"}],"author":[{"embeddable":true,"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/husobj"}],"wp:attachment":[{"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11867"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11867"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11867"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11867"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11867"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/gax.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}