Title: Page Parts
Author: Ben Huson
Published: <strong>March 12, 2015</strong>
Last modified: November 26, 2025

---

Search plugins

![](https://ps.w.org/page-parts/assets/banner-772x250.png?rev=1111054)

![](https://ps.w.org/page-parts/assets/icon-256x256.png?rev=1111054)

# Page Parts

 By [Ben Huson](https://profiles.wordpress.org/husobj/)

[Download](https://downloads.wordpress.org/plugin/page-parts.1.5.zip)

 * [Details](https://test.wordpress.org/plugins/page-parts/#description)
 * [Reviews](https://test.wordpress.org/plugins/page-parts/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/page-parts/#installation)
 * [Development](https://test.wordpress.org/plugins/page-parts/#developers)

 [Support](https://wordpress.org/support/plugin/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

### How do I order Page Parts?

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

## Reviews

![](https://secure.gravatar.com/avatar/2acb5dec03fd68143c1dafe4fd64787cc78e9005554401373bdc53e34609946c?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin 🙂](https://wordpress.org/support/topic/excellent-plugin-5007/)󠁿

 [daberelay](https://profiles.wordpress.org/daberelay/) 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 ](https://wordpress.org/support/plugin/page-parts/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Ben Huson ](https://profiles.wordpress.org/husobj/)

[Translate “Page Parts” into your language.](https://translate.wordpress.org/projects/wp-plugins/page-parts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/page-parts/), check
out the [SVN repository](https://plugins.svn.wordpress.org/page-parts/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/page-parts/) by 
[RSS](https://plugins.trac.wordpress.org/log/page-parts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### Unreleased

#### 1.5

**Added**
 – Page part templates now support in child themes.

#### 1.4.5

**Fixed**
 – Fix error caused by incorrectly implemented wp_kses().

#### 1.4.4

**Security**
 – Escape URLs and HTML output to prevent XSS.

#### 1.4.3

**Fixed**
 – Page parts now work with parent set to pending/private/future/trash
status.

#### 1.4.2

**Fixed**
 – Fix compatibility with WPML plugin where page part translations are
duplicated.

#### 1.4.1

**Fixed**
 – Fix deprecated `contextual_help` implementation.

#### 1.4

**Added**
 – Apply `page_part_theme_templates_depth` filter when getting template
images. – Tested up to WordPress 5.8.2

**Fixed**
 – Fix deprecated jQuery ready.

#### 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.

## Meta

 *  Version **1.5**
 *  Last updated **6 months ago**
 *  Active installations **50+**
 *  WordPress version ** 3.9 or higher **
 *  Tested up to **6.8.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/page-parts/)
 * Tags
 * [cms](https://test.wordpress.org/plugins/tags/cms/)[pages](https://test.wordpress.org/plugins/tags/pages/)
 *  [Advanced View](https://test.wordpress.org/plugins/page-parts/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/page-parts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/page-parts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/page-parts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/page-parts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/page-parts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/page-parts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/page-parts/reviews/)

## Contributors

 *   [ Ben Huson ](https://profiles.wordpress.org/husobj/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/page-parts/)