This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Page Parts

Description

Manage subsections of a page. Create ‘page parts’ as children of a page to display in different areas of your templates. Requires WordPress 3.4.

For more information, view the documentation link on the admin plugins page after activating the plugin.

Screenshots

  • Page Parts meta box.
  • Page Parts meta box with 3 Page Parts.
  • Support for Page Part theme locations (like theme_location for WordPress Menus) and featured images.
  • Page Part URLs are rewritten to their parent page passing the page part slug as an anchor.
  • Page Part meta box with link back to parent page and option to add a new sibling page part.

Installation

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Installation Instructions
  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
How do I order Page Parts?

Either enter numbers in the order fields or drag them into the order you want.

Reviews

July 14, 2019
Hi Ben, thanks for this plugin, its intuitive, its integral with WP UI, it makes sense out of building reusable parts in WP, and I'm using it happily and without issues. too bad its not more widespread. cheers for a job well done. 🙂
Read all 1 review

Contributors & Developers

“Page Parts” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Page Parts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Unreleased

1.3.1

Fixed
– Fix page part permalink when parent is a child of other pages.

1.3

Added
– Add default template image filter page_part_theme_default_template_image.
– Allow found templates to be filtered before locating using the page_part_locate_templates filter.
– Added page_part_theme_templates filter to change the maximum folder depth where page part templates can be found in the theme.
– Add Template column to page parts admin table.

Changed
– Search 2 levels deep for Page Part templates in theme folder.

Fixed
– Fix revisions not saving.

1.2

Added
* Add page_part_show_default_template filter.
* Pass $page-part object to page_part_theme_templates filter.

Changed
* Use __construct() for class constructor methods.

1.1

Added
* Add page-attributes meta box to Page Parts (includes “order” field).
* Add page_parts_default_template_name filter so that the Default Template name can be changed in admin menus.
* Add page-part-default class to page parts with no template assigned.

1.0

Added
* Add support for Page Part templates.
* Show parent hierarchy in page parts admin.

Changed
* Improved documentation accessible via the plugins admin page.
* Use wp_update_post() when updating menu_order via AJAX.

Fixed
* If page part has no title, show “(no title)” in admin edit list table.

0.9

Changed
* Better handling of default permalinks with anchors (where page part is a child of another page part).

0.8

Added
* Add option to set parent ID manually (if page part is not connected to a post).
* Add page part column to post type admin pages.

Changed
* Don’t show Page Parts meta box in admin nav menus.

Fixed
* Textdomain should be a string – using a variable causes issues for parsers.

Security
* Check and escape filtered URLs.

0.7

Added
* Added API to specify theme locations.
* Added theme locations documentation.

Security
* Tightened up AJAX security with better POST validation and nonces.

0.6

Added
* Add “Add new page part” button on page parts to add a new part to the parent.
* Add support for author, excerpt, custom-fields and revisions.
* Added contextual documentation.
* Added page-parts constant.

0.5

Added
* Add plugin documentation (link on plugins page).
* Add page_parts_supported_post_types filter to enable support for other post types.
* Added page_parts_admin_columns and page_parts_admin_column_{$column_name} filters for adding extra columns to the page parts table.

0.4

Added
* Improve drag and drop interface – uses a ‘handle’ so as to not interfere with links etc.

Changed
* Admin table displayed using WP_List_Table class.

Fixed
* Order now updated immediate after drag and drop via AJAX.

0.3

Added
* Shows post thumbnail if available.
* Added language support.
* Display page part status in admin list.
* Added register_page_part_args filter.

0.2

Added
* First public release.