Описание
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.
Скриншоты





Установка
- Upload
plugin-name.phpto the/wp-content/plugins/directory - 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.
Отзывы
Участники и разработчики
«Page Parts» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Page Parts» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
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.
