Title: Sortable Posts
Author: Carlos Rios
Published: <strong>2016 年 2 月 15 日</strong>
Last modified: 2016 年 3 月 22 日

---

搜索插件

![](https://ps.w.org/sortable-posts/assets/banner-772x250.png?rev=1352098)

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

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

# Sortable Posts

 作者：[Carlos Rios](https://profiles.wordpress.org/carlosrios/)

[下载](https://downloads.wordpress.org/plugin/sortable-posts.1.1.3.zip)

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

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

## 描述

Sortable Posts uses and easy to use drag and drop ui to allow users to update the
order of posts and taxonomy terms. Sortable Posts automatically arranges your posts
and taxonomy terms on the frontend to match the order on the backend as well.

#### Using Sortable Posts In Your Theme / Plugin

Sortable Posts currently allows users to add post types to the list of sortable 
post types and taxonomies by either adding them in the options panel or by adding
them via a custom filter. Should you want to add them via a filter you can use the`
sortable_post_types` for posts and the `sortable_taxonomies` filter for taxonomies.

Documentation can be found here.
 [https://github.com/CarlosRios/sortable-posts](https://github.com/CarlosRios/sortable-posts)

## 屏幕截图

[⌊before Sortable Posts⌉⌊before Sortable Posts⌉[

before Sortable Posts

[⌊after Sortable Posts⌉⌊after Sortable Posts⌉[

after Sortable Posts

[⌊Dashboard options⌉⌊Dashboard options⌉[

Dashboard options

[⌊Sortable Taxonomies⌉⌊Sortable Taxonomies⌉[

Sortable Taxonomies

## 安装

Sortable Posts requires the WP REST API that is a part of WordPress core as of 4.4.

 1. Navigate to ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `sortable-posts-wp.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Extract the `sortable-posts-wp` directory to your computer
 2. Upload the `sortable-posts-wp` directory to the `/wp-content/plugins/` directory
 3. Activate the plugin in the Plugin dashboard

## 常见问题

  How do I use it?

Navigate to the Sortable Post Types screen under the WordPress Settings tab and 
choose the post types you want to make sortable.

  Does it work with built in WordPress post types?

No, currently it does not support the built in post types.

  Does Sortable Posts work with taxonomies as well?

Yes! Sortable Posts requires at least WordPress 4.4 to make use of the new term 
meta fields that were added to it.

## 评价

![](https://secure.gravatar.com/avatar/bb52bb198fae618bd3af57e1e6a31fb9cad049852b886233bb6ff208928130f1?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-3181/)󠁿

 [sw33t](https://profiles.wordpress.org/sw33t/) 2016 年 9 月 3 日 2 回复

Thanks for this plugin!

![](https://secure.gravatar.com/avatar/534ffd4c09b3dc57838005ab1fa50fde4ebfb06c5c32236be6ce236abc8fe4d9?
s=60&d=retro&r=g)

### 󠀁[Works well](https://wordpress.org/support/topic/works-well-766/)󠁿

 [deFUNKT](https://profiles.wordpress.org/defunkt/) 2016 年 9 月 3 日 1 回复

I really like the UI, the numbering of posts is a great touch to know where you 
are in the list. Developer was also really helpful in resolving a conflict with 
another plugin.

![](https://secure.gravatar.com/avatar/5998bd4959cbe53852f774194d869e95401bfbe0e9ac4a20fc43db7c813aadb3?
s=60&d=retro&r=g)

### 󠀁[Well documented code!](https://wordpress.org/support/topic/well-documented-code/)󠁿

 [Carlos Rios](https://profiles.wordpress.org/carlosrios/) 2016 年 9 月 3 日

The code is really well documented and clean. Please feel free to contribute.

![](https://secure.gravatar.com/avatar/f9bbf05128edc81fe5d36215a92ebd3ff13a1940e9176885270481a4b0bcdd5d?
s=60&d=retro&r=g)

### 󠀁[Really good Work!](https://wordpress.org/support/topic/really-good-work-1/)󠁿

 [podpirate](https://profiles.wordpress.org/podpirate/) 2016 年 9 月 3 日 1 回复

Sorts Posts and Terms like no other plugin. Hope this one gets the attention it 
deserves!

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/sortable-posts/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Carlos Rios ](https://profiles.wordpress.org/carlosrios/)
 *   [ podpirate ](https://profiles.wordpress.org/podpirate/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.3

 * fix: settings issue causing php warning when no post types are saved.
 * fix: settings page for taxonomies works even when given an associative array.
   Props @mcguffin
 * fix: change sql to seach in wpdb posts table and not just posts table. Props 
   @mcguffin
 * improvement: add translation to settings page.
 * improvement: load settings only on admin side. Props @mcguffin
 * improvement: add new filter `sortable_posts_settings` which allows devs to remove
   settings page if set to false. Props @mcguffin

#### 1.1.2

 * fix broken saving.
 * improvement: stop sql from injecting when saving order
 * add activation hook that flushes rewrite rules for older installs

#### 1.1.1

 * fix issue with sortable posts looking for assets in the wrong folder.
 * update docblocks

#### 1.1

 * remove using WP_REST_Controller class because it was not included in 4.4

#### 1.0

 * add sortable taxonomies with the help of the WordPress 4.4 term metadata improvements.
 * updated plugin to use REST API to power its ajax.
 * visual modifications to the post edit screen.
 * added an alert message when the sort update succeeds or fails.
 * initial commit for plugin version

## 额外信息

 *  版本 **1.1.3**
 *  最后更新：**10 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/sortable-posts/)
 * 标签
 * [custom post order](https://cn.wordpress.org/plugins/tags/custom-post-order/)
   [js post order](https://cn.wordpress.org/plugins/tags/js-post-order/)[page order](https://cn.wordpress.org/plugins/tags/page-order/)
   [post order](https://cn.wordpress.org/plugins/tags/post-order/)[posts order](https://cn.wordpress.org/plugins/tags/posts-order/)
 *  [高级视图](https://cn.wordpress.org/plugins/sortable-posts/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Carlos Rios ](https://profiles.wordpress.org/carlosrios/)
 *   [ podpirate ](https://profiles.wordpress.org/podpirate/)

## 支持

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

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