AI助手支持GPT4.0
Adds an admin panel when editing edit pages, to let you rearrange this page’s child pages and switch their display on/off.
在编辑编辑页面时添加一个管理面板,以便您重新排列该页面的子页面并打开/关闭它们的显示。 p>
This will only affect parts of your theme that display a list of links to child pages, and only those which respect the menu_order setting.
menu_order
这只会影响主题中显示子页面链接列表的部分,并且仅影响那些遵守 menu_order code>设置的部分。It has no effect on Menus.它对菜单无效 em>。You need to edit those with the existing menu interface.您需要使用现有的菜单界面进行编辑。 p>Actually displaying the list of child pages is outside the scope of this plugin – there are plenty of themes and plugins that do that.实际上显示子页面列表不在此插件的范围内–有很多主题和插件可以实现这一目的。 p>Developers开发人员 h3>For developers, there are a lot of hooks exposed by this plugin, which you can use to add fields and behaviours对于开发人员而言,此插件暴露了很多挂钩,您可以使用它们来添加字段和行为 p>When displaying the meta box:显示meta框时: p>child_order_before_list – Action called before writing the list of child pages in the admin area child_order_before_list code> –在管理区域中写入子页面列表之前调用的操作 li>child_order_before_item ($post) – Action called at the start of each item child_order_before_item($ post) code> –在每个项目开始处调用的操作 li>child_order_after_item ($post) – Action called at the end of each item child_order_after_item($ post) code> –在每个项目末尾调用的动作 li>child_order_after_list – Action called after writing the whole list child_order_after_list code> –写入整个列表后调用的动作 li>child_order_item_title ($title, $post) – Filter to control the title displayed for an item child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li> ul>When saving (in AJAX):保存时(在AJAX中): p>child_order_children ($array, $parent_id) – Filter to adjust the list of post IDs before saving child_order_children($ array,$ parent_id) code> –过滤以在保存前调整帖子ID列表 li>child_order_before_save ($array, $parent_id) – Action called before saving the order of items child_order_before_save($ array,$ parent_id) code> –在保存项目顺序之前调用的操作 li>child_order_save_item ($id, $menu_order) – Action called on saving each item child_order_save_item($ id,$ menu_order) code> –调用保存每个项目的操作 li>child_order_after_save ($array, $parent_id) – Action called after saving the order of items child_order_after_save($ array,$ parent_id) code> –保存项目顺序后调用的操作 li> ul>If you wish to remove the “Edit” and “View” buttons from the output, call this on setup:如果您希望从输出中删除“编辑”和“查看”按钮,请在设置时调用它: p>remove_action('child_order_after_item', 'child_order_after_item_edit_link'); remove_action('child_order_after_item','child_order_after_item_edit_link'); code> pre>Be aware that the internal workings of the plugin are subject to change,请注意,插件的内部工作方式可能会发生变化,so the names and details of these hooks may change in future version.因此这些挂钩的名称和详细信息在将来的版本中可能会更改。 p>
menu_order code>设置的部分。It has no effect on Menus.它对菜单无效 em>。You need to edit those with the existing menu interface.您需要使用现有的菜单界面进行编辑。 p>Actually displaying the list of child pages is outside the scope of this plugin – there are plenty of themes and plugins that do that.实际上显示子页面列表不在此插件的范围内–有很多主题和插件可以实现这一目的。 p>Developers开发人员 h3>For developers, there are a lot of hooks exposed by this plugin, which you can use to add fields and behaviours对于开发人员而言,此插件暴露了很多挂钩,您可以使用它们来添加字段和行为 p>When displaying the meta box:显示meta框时: p>child_order_before_list – Action called before writing the list of child pages in the admin area child_order_before_list code> –在管理区域中写入子页面列表之前调用的操作 li>child_order_before_item ($post) – Action called at the start of each item child_order_before_item($ post) code> –在每个项目开始处调用的操作 li>child_order_after_item ($post) – Action called at the end of each item child_order_after_item($ post) code> –在每个项目末尾调用的动作 li>child_order_after_list – Action called after writing the whole list child_order_after_list code> –写入整个列表后调用的动作 li>child_order_item_title ($title, $post) – Filter to control the title displayed for an item child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li> ul>When saving (in AJAX):保存时(在AJAX中): p>child_order_children ($array, $parent_id) – Filter to adjust the list of post IDs before saving child_order_children($ array,$ parent_id) code> –过滤以在保存前调整帖子ID列表 li>child_order_before_save ($array, $parent_id) – Action called before saving the order of items child_order_before_save($ array,$ parent_id) code> –在保存项目顺序之前调用的操作 li>child_order_save_item ($id, $menu_order) – Action called on saving each item child_order_save_item($ id,$ menu_order) code> –调用保存每个项目的操作 li>child_order_after_save ($array, $parent_id) – Action called after saving the order of items child_order_after_save($ array,$ parent_id) code> –保存项目顺序后调用的操作 li> ul>If you wish to remove the “Edit” and “View” buttons from the output, call this on setup:如果您希望从输出中删除“编辑”和“查看”按钮,请在设置时调用它: p>remove_action('child_order_after_item', 'child_order_after_item_edit_link'); remove_action('child_order_after_item','child_order_after_item_edit_link'); code> pre>Be aware that the internal workings of the plugin are subject to change,请注意,插件的内部工作方式可能会发生变化,so the names and details of these hooks may change in future version.因此这些挂钩的名称和详细信息在将来的版本中可能会更改。 p>
It has no effect on Menus.
它对菜单无效 em>。You need to edit those with the existing menu interface.您需要使用现有的菜单界面进行编辑。 p>Actually displaying the list of child pages is outside the scope of this plugin – there are plenty of themes and plugins that do that.实际上显示子页面列表不在此插件的范围内–有很多主题和插件可以实现这一目的。 p>Developers开发人员 h3>For developers, there are a lot of hooks exposed by this plugin, which you can use to add fields and behaviours对于开发人员而言,此插件暴露了很多挂钩,您可以使用它们来添加字段和行为 p>When displaying the meta box:显示meta框时: p>child_order_before_list – Action called before writing the list of child pages in the admin area child_order_before_list code> –在管理区域中写入子页面列表之前调用的操作 li>child_order_before_item ($post) – Action called at the start of each item child_order_before_item($ post) code> –在每个项目开始处调用的操作 li>child_order_after_item ($post) – Action called at the end of each item child_order_after_item($ post) code> –在每个项目末尾调用的动作 li>child_order_after_list – Action called after writing the whole list child_order_after_list code> –写入整个列表后调用的动作 li>child_order_item_title ($title, $post) – Filter to control the title displayed for an item child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li> ul>When saving (in AJAX):保存时(在AJAX中): p>child_order_children ($array, $parent_id) – Filter to adjust the list of post IDs before saving child_order_children($ array,$ parent_id) code> –过滤以在保存前调整帖子ID列表 li>child_order_before_save ($array, $parent_id) – Action called before saving the order of items child_order_before_save($ array,$ parent_id) code> –在保存项目顺序之前调用的操作 li>child_order_save_item ($id, $menu_order) – Action called on saving each item child_order_save_item($ id,$ menu_order) code> –调用保存每个项目的操作 li>child_order_after_save ($array, $parent_id) – Action called after saving the order of items child_order_after_save($ array,$ parent_id) code> –保存项目顺序后调用的操作 li> ul>If you wish to remove the “Edit” and “View” buttons from the output, call this on setup:如果您希望从输出中删除“编辑”和“查看”按钮,请在设置时调用它: p>remove_action('child_order_after_item', 'child_order_after_item_edit_link'); remove_action('child_order_after_item','child_order_after_item_edit_link'); code> pre>Be aware that the internal workings of the plugin are subject to change,请注意,插件的内部工作方式可能会发生变化,so the names and details of these hooks may change in future version.因此这些挂钩的名称和详细信息在将来的版本中可能会更改。 p>
You need to edit those with the existing menu interface.
您需要使用现有的菜单界面进行编辑。 p>
Actually displaying the list of child pages is outside the scope of this plugin – there are plenty of themes and plugins that do that.
实际上显示子页面列表不在此插件的范围内–有很多主题和插件可以实现这一目的。 p>
For developers, there are a lot of hooks exposed by this plugin, which you can use to add fields and behaviours
对于开发人员而言,此插件暴露了很多挂钩,您可以使用它们来添加字段和行为 p>
When displaying the meta box:
显示meta框时: p>
child_order_before_list
child_order_before_list code> –在管理区域中写入子页面列表之前调用的操作 li>child_order_before_item ($post) – Action called at the start of each item child_order_before_item($ post) code> –在每个项目开始处调用的操作 li>child_order_after_item ($post) – Action called at the end of each item child_order_after_item($ post) code> –在每个项目末尾调用的动作 li>child_order_after_list – Action called after writing the whole list child_order_after_list code> –写入整个列表后调用的动作 li>child_order_item_title ($title, $post) – Filter to control the title displayed for an item child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li>
child_order_before_item ($post)
child_order_before_item($ post) code> –在每个项目开始处调用的操作 li>child_order_after_item ($post) – Action called at the end of each item child_order_after_item($ post) code> –在每个项目末尾调用的动作 li>child_order_after_list – Action called after writing the whole list child_order_after_list code> –写入整个列表后调用的动作 li>child_order_item_title ($title, $post) – Filter to control the title displayed for an item child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li>
child_order_after_item ($post)
child_order_after_item($ post) code> –在每个项目末尾调用的动作 li>child_order_after_list – Action called after writing the whole list child_order_after_list code> –写入整个列表后调用的动作 li>child_order_item_title ($title, $post) – Filter to control the title displayed for an item child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li>
child_order_after_list
child_order_after_list code> –写入整个列表后调用的动作 li>child_order_item_title ($title, $post) – Filter to control the title displayed for an item child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li>
child_order_item_title ($title, $post)
child_order_item_title($ title,$ post) code> –用于控制显示项目标题的过滤器 li>child_order_message ($message) – Filter to control the message displayed after the list child_order_message($ message) code> –过滤以控制列表后显示的消息 li>
child_order_message ($message)
child_order_message($ message) code> –过滤以控制列表后显示的消息 li>
ul>
When saving (in AJAX):
保存时(在AJAX中): p>
child_order_children ($array, $parent_id)
child_order_children($ array,$ parent_id) code> –过滤以在保存前调整帖子ID列表 li>child_order_before_save ($array, $parent_id) – Action called before saving the order of items child_order_before_save($ array,$ parent_id) code> –在保存项目顺序之前调用的操作 li>child_order_save_item ($id, $menu_order) – Action called on saving each item child_order_save_item($ id,$ menu_order) code> –调用保存每个项目的操作 li>child_order_after_save ($array, $parent_id) – Action called after saving the order of items child_order_after_save($ array,$ parent_id) code> –保存项目顺序后调用的操作 li>
child_order_before_save ($array, $parent_id)
child_order_before_save($ array,$ parent_id) code> –在保存项目顺序之前调用的操作 li>child_order_save_item ($id, $menu_order) – Action called on saving each item child_order_save_item($ id,$ menu_order) code> –调用保存每个项目的操作 li>child_order_after_save ($array, $parent_id) – Action called after saving the order of items child_order_after_save($ array,$ parent_id) code> –保存项目顺序后调用的操作 li>
child_order_save_item ($id, $menu_order)
child_order_save_item($ id,$ menu_order) code> –调用保存每个项目的操作 li>child_order_after_save ($array, $parent_id) – Action called after saving the order of items child_order_after_save($ array,$ parent_id) code> –保存项目顺序后调用的操作 li>
child_order_after_save ($array, $parent_id)
child_order_after_save($ array,$ parent_id) code> –保存项目顺序后调用的操作 li>
If you wish to remove the “Edit” and “View” buttons from the output, call this on setup:
如果您希望从输出中删除“编辑”和“查看”按钮,请在设置时调用它: p>
remove_action('child_order_after_item', 'child_order_after_item_edit_link'); remove_action('child_order_after_item','child_order_after_item_edit_link'); code> pre>Be aware that the internal workings of the plugin are subject to change,请注意,插件的内部工作方式可能会发生变化,so the names and details of these hooks may change in future version.因此这些挂钩的名称和详细信息在将来的版本中可能会更改。 p>
remove_action('child_order_after_item','child_order_after_item_edit_link');
code> pre>
Be aware that the internal workings of the plugin are subject to change,
请注意,插件的内部工作方式可能会发生变化,
so the names and details of these hooks may change in future version.
因此这些挂钩的名称和详细信息在将来的版本中可能会更改。 p>
child-order
/wp-content/plugins/
child-order code>目录上传到您的 / wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
ol>
原文出处:http://www.sanshu.cn/a/7195.html
群主管理都是支付大佬