Title: Custom Posts Order
Author: Hiren Patel
Published: <strong>2015 年 9 月 1 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/custom-posts-order/assets/banner-772x250.jpg?rev=2052378)

![](https://ps.w.org/custom-posts-order/assets/icon-256x256.jpg?rev=2051678)

# Custom Posts Order

 作者：[Hiren Patel](https://profiles.wordpress.org/hiren1612/)

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

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

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

## 描述

Custom Posts Order plugin will order posts with simple Drag and Drop Sortable capability.
Place a shortcode in page, post, text widget or template files to display in front-
end. It’s that simple.

 1. Quick and easy drag and drop for rearranging of posts.
 2. Set the number of posts to display in front-end.
 3. User can add different list of sections of particular posts.

#### 用法

Place this shortcode in page, post or text widget where you’d like to display posts.

    ```
    [posts_order posts=2 section=porder_name]
    ```

#### 参数

Custom Posts Order plugin supports the “posts” parameter where you can pass the 
number of posts you want to display in frontend and “section” parameter where you
can pass the name of the section to be displayed in frontend. For example if you
want to display 3 posts from Section1 at a time then place the following code:

    ```
    [posts_order posts=3 section=Section1]
    ```

By default it displays 5 posts.

#### 模版

Place this shortcode in any template parts of your theme.

    ```
    <?php echo do_shortcode('[posts_order posts=3 section="Section1"]'); ?>
    ```

## 屏幕截图

 * [[
 * After activating the plugin it will be hooked in Settings Menu.
 * [[
 * Section Listing. Here you can Add/Edit and Delete the sections.
 * [[
 * Posts Listing. Here you can change the post order by simple drag and drop functionality.
 * [[
 * Frontend display.

## 安装

#### Installation

 1. Upload “custom_posts_order” to the “/wp-content/plugins/” directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.

#### 如何使用

 1. Place shortcode [posts_order posts=3 section=porder_name] in wordpress page, post
    or text widget, where in the “posts” parameter you can pass the number of posts
    and name of the section in “section” parameter you want to display in frontend.
    5 posts will be displayed by default .
 2. Place the code `<?php echo do_shortcode('[posts_order posts=3 section=porder_name]');?
    >` in template files, where in the “posts” parameter you pass the number of posts
    and name of the section in “section” parameter you want to display in frontend.
    5 posts will be displayed by default .

## 常见问题

### Having problems, questions, bugs & suggestions

Contact us at http://www.satvikinfotech.com/

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Hiren Patel ](https://profiles.wordpress.org/hiren1612/)
 *   [ Ripal Patel ](https://profiles.wordpress.org/hikebranding/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### v1.0

 * Initial release version.

#### v4.0

 * Tested up to latest version.

#### v4.1

 * fixed some bugs.

#### v4.2

 * fixed some bugs.

#### v4.3

 * fixed some bugs.

#### v4.5

 * WordPress 7.0 / PHP 8.x compatibility; added nonces, capability checks, sanitization
   and output escaping throughout.

## 额外信息

 *  版本 **4.5**
 *  最后更新：**4 天前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-posts-order/)
 * 标签
 * [drag-and-drop](https://cn.wordpress.org/plugins/tags/drag-and-drop/)[post order](https://cn.wordpress.org/plugins/tags/post-order/)
   [reorder](https://cn.wordpress.org/plugins/tags/reorder/)[sort](https://cn.wordpress.org/plugins/tags/sort/)
   [sortable](https://cn.wordpress.org/plugins/tags/sortable/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-posts-order/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/custom-posts-order/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/custom-posts-order/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/custom-posts-order/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/custom-posts-order/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/custom-posts-order/reviews/?filter=1)

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

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

## 贡献者

 *   [ Hiren Patel ](https://profiles.wordpress.org/hiren1612/)
 *   [ Ripal Patel ](https://profiles.wordpress.org/hikebranding/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://hikebranding.com)