1
50
6K
0
29 November 2024
12 March 2015
Based on 1 on WordPress.org
Either enter numbers in the order fields or drag them into the order you want.
Fixed
– Fix error caused by incorrectly implemented wp_kses().
Security
– Escape URLs and HTML output to prevent XSS.
Fixed
– Page parts now work with parent set to pending/private/future/trash status.
Fixed
– Fix compatibility with WPML plugin where page part translations are duplicated.
Fixed
– Fix deprecated contextual_help
implementation.
Added
– Apply page_part_theme_templates_depth
filter when getting template images.
– Tested up to WordPress 5.8.2
Fixed
– Fix deprecated jQuery ready.
Fixed
– Fix page part permalink when parent is a child of other pages.
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.
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.
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.
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.
Changed
* Better handling of default permalinks with anchors (where page part is a child of another page part).
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.
Added
* Added API to specify theme locations.
* Added theme locations documentation.
Security
* Tightened up AJAX security with better POST validation and nonces.
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.
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.
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.
Added
* Shows post thumbnail if available.
* Added language support.
* Display page part status in admin list.
* Added register_page_part_args
filter.
Added
* First public release.
plugin-name.php
to the /wp-content/plugins/
directory