Title: Child Order
Author: Marcus Downing
Published: <strong>2014 年 5 月 16 日</strong>
Last modified: 2014 年 5 月 16 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/child-order.svg)

# Child Order

 作者：[Marcus Downing](https://profiles.wordpress.org/marcusdowning/)

[下载](https://downloads.wordpress.org/plugin/child-order.zip)

 * [详情](https://cn.wordpress.org/plugins/child-order/#description)
 * [评价](https://cn.wordpress.org/plugins/child-order/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/child-order/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/child-order/#developers)

 [支持](https://wordpress.org/support/plugin/child-order/)

## 描述

Adds an admin panel when editing edit pages, to let you rearrange this page’s child
pages and switch their display on/off.

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. It has _no effect_
on Menus. You need to edit those with the existing menu interface.

Actually displaying the list of child pages is outside the scope of this plugin –
there are plenty of themes and plugins that do that.

### Developers

For developers, there are a lot of hooks exposed by this plugin, which you can use
to add fields and behaviours

When displaying the meta box:

 * `child_order_before_list` – Action called before writing the list of child pages
   in the admin area
 * `child_order_before_item ($post)` – Action called at the start of each item
 * `child_order_after_item ($post)` – Action called at the end of each item
 * `child_order_after_list` – Action called after writing the whole list
 * `child_order_item_title ($title, $post)` – Filter to control the title displayed
   for an item
 * `child_order_message ($message)` – Filter to control the message displayed after
   the list

When saving (in AJAX):

 * `child_order_children ($array, $parent_id)` – Filter to adjust the list of post
   IDs before saving
 * `child_order_before_save ($array, $parent_id)` – Action called before saving 
   the order of items
 * `child_order_save_item ($id, $menu_order)` – Action called on saving each item
 * `child_order_after_save ($array, $parent_id)` – Action called after saving the
   order of items

If you wish to remove the “Edit” and “View” buttons from the output, call this on
setup:

    ```
    remove_action('child_order_after_item', 'child_order_after_item_edit_link');
    ```

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.

## 屏幕截图

[⌊The edit screen, with options to drag pages up and down.⌉⌊The edit screen, with
options to drag pages up and down.⌉[

The edit screen, with options to drag pages up and down.

## 安装

 1. Upload the `child-order` directory to your `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Child Order」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)
 *   [ Dani Llewellyn ](https://profiles.wordpress.org/diddledan/)

[帮助将「Child Order」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/child-order)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/child-order/)，查看[SVN仓库](https://plugins.svn.wordpress.org/child-order/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/child-order/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/child-order/)。

## 更新日志

#### 1.1

 * Updates to improve apprearance with WordPress 3.8+
 * Fixed to work on multisite
 * Added more hooks for other plugins

#### 1.0

 * First version

## 额外信息

 *  版本 **1.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/child-order/)
 * 标签
 * [search](https://cn.wordpress.org/plugins/tags/search/)
 *  [高级视图](https://cn.wordpress.org/plugins/child-order/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/child-order/reviews/)

## 贡献者

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)
 *   [ Dani Llewellyn ](https://profiles.wordpress.org/diddledan/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/child-order/)