
Divide your post content into parts that you can show in different areas of your theme templates.
| Author: | Ben Huson (profile at wordpress.org) |
| WordPress version required: | 3.9 |
| WordPress version tested: | 4.9.9 |
| Plugin version: | 1.8 |
| Added to WordPress repository: | 20-01-2011 |
| Last updated: | 15-01-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 100 |
| Rated by: | 2 |
| Plugin URI: | https://wordpress.org/plugins/content-parts/ |
| Total downloads: | 14 664 |
| Active installs: | 300+ |

Click to start download
|
Screenshots

Content Parts editor icon.

Content part divider inserted into the editor.
ChangeLog
Unreleased
Content Parts 1.8
- Add wrapper divs around automatically output content parts.
Content Parts 1.7
- Don’t Automatically output
<div> blocks – broke styling on some some site.
- Added settings page: Select post types to which
<div> blocks will be automatically added.
- Added admin notification if settings page has not been visited.
content_parts_auto_format_post_types filter added to enable override of admin settings.
- Removed the
content_parts_auto_content filter. Instead use the content_parts_auto_format_post_types filter.
Content Parts 1.6
- Use PHP5 constructors.
- Automatically output
<div> blocks around content parts in the main content on single posts and pages. Disable via the content_parts_auto_content filter.
- Use SVG images.
Content Parts 1.5
- Add post classes ( has-content-parts, content-parts-{n}, no-content-parts).
- Don’t load editor functionality if DOING_AJAX.
- Updated Tiny MCE button image.
- Tested up to WordPress 4.0
Content Parts 1.4
- Automatically make content parts work when ‘in the loop’.
- Added %%part%% placeholder to before/after strings to replace with content part index.
- Add content_part_args filter.
Content Parts 1.3
- All functions can now be passed an array of parameters.
- Deprecate the_content_part() multiple args – now expects an array.
- Moved code to a class structure.
Content Parts 1.2
- Validate ‘start’ and ‘limit’ args are numeric.
- If $post not set, ignore.
- Checked WordPress 3.3 compatibility.
Content Parts 1.1
- Added count_content_parts() function. props Rory.
Content Parts 1.0