Title: Global Posts Ordering
Author: Rasso Hilber
Published: <strong>2012 年 3 月 9 日</strong>
Last modified: 2013 年 5 月 18 日

---

搜尋外掛

![](https://ps.w.org/global-posts-ordering/assets/banner-772x250.jpg?rev=518571)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/global-posts-ordering_f7fafb.svg)

# Global Posts Ordering

 由 [Rasso Hilber](https://profiles.wordpress.org/nonverbla/) 開發

[下載](https://downloads.wordpress.org/plugin/global-posts-ordering.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/global-posts-ordering/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/global-posts-ordering/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/global-posts-ordering/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/global-posts-ordering/#developers)

 [技術支援](https://wordpress.org/support/plugin/global-posts-ordering/)

## 外掛說明

Yet another plugin for ordering posts? YES!

This plugin makes it possible to adjust the global order of posts from different
post types. Basically, it tries to get together the best functionalities of the 
superb plugins [postMash](https://wordpress.org/extend/plugins/postmash/) and [Simple Page Ordering](https://wordpress.org/extend/plugins/simple-page-ordering/).
_Global Posts Ordering_ uses the stand-alone admin options page of postMash for 
globally setting the order of posts and the very cool AJAX approach of ‘Simple Page
Ordering’. Best you test it yourself and see if it fits your needs.

#### Please Note:

The major use of this plugin is for mixing posts from differen post types in overview
pages that only use the first level of hierarchical posts (e.g. “Books”, “DVDs”,“
Records”).

#### Tested on

 * (OSX) Safari 🙂
 * (OSX) Firefox 🙂
 * (OSX) Chrome 🙂
 * (OSX) Opera 🙂
 * (WIN) Firefox 🙂
 * (WIN) Chrome 🙂
 * (WIN) IE 9 🙂
 * (WIN) IE 8 🙂
 * (WIN) IE 7 :/

#### Rating and Bugs

As you can see, this plugin is not version 1.0 yet, so please post comments about
any bugs you find, before giving it a bad rating.

## 螢幕擷圖

 * [[
 * Just drag the posts up and down to change their order

## 安裝方式

 * Install easily with the WordPress plugin control panel or manually download the
   plugin and upload the extracted folder to the `/wp-content/plugins/` directory
 * Activate the plugin through the ‘Plugins’ menu in WordPress
 * Open the file functions.php in your theme and put the following in there:
 * if ( class_exists(“global_posts_ordering”) ) {
    $global_posts_ordering = new 
   global_posts_ordering(array(“my_post_type_1”, “my_post_type_2”, “my_post_type_3”));}

You can include the built-in post types ‘post’ and ‘page’ as well as custom post
types.

 * Save the functions.php file.
 * If you registered only one post type, there should be a new submenu-item under
   your post type saying “re-order”. If you registered multiple post types, you 
   should now have a new top-level menu item saying “Global Order”. Each lead you
   to the drag-and-drop re-ordering interface.
 * Don’t forget to set the “orderby” option, if you fetch your posts in your template,
   for example like this:
 * $args = array(
    “post_type”=>array(“post”, “page”), “orderby”=>”menu_order”, “
   order”=>”ASC”, “numberposts”=>-1 ); $posts = get_posts($args);

Of course, there are many different ways to fetch posts in your template. It’s only
important to set the “orderby” to “menu_order” and “order” to “ASC”. Other ways 
to get the posts ordered by menu_order are described on the [postMash Installation Page](https://wordpress.org/extend/plugins/postmash/installation/)

 * If anything doesn’t work, please comment.

## 使用者評論

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

### 󠀁[It works great, even if it hasn’t been updated in so many years.](https://wordpress.org/support/topic/it-works-great-even-if-it-hasnt-been-updated-in-so-many-years/)󠁿

 [flixflix](https://profiles.wordpress.org/flixflix/) 2017 年 12 月 29 日

As of WP 4.9.1 is works; you just have to add the code snippet from the description(
replace the chevrons with apostrophes).

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/global-posts-ordering/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Global Posts Ordering〉的開發相關工作。

參與者

 *   [ Rasso Hilber ](https://profiles.wordpress.org/nonverbla/)
 *   [ B09 ](https://profiles.wordpress.org/basics09/)

[將〈Global Posts Ordering〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/global-posts-ordering)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/global-posts-ordering/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/global-posts-ordering/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/global-posts-ordering/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/global-posts-ordering/)。

## 變更記錄

#### 0.9.5

 * Added all post statuses to the list, now you can also re-order drafts
 * First element gets now menu order 1, not zero, so that new posts get inserted
   at the first position, not second
 * Added edit-links to the post-title labels
 * Added edit-links to the post-type labels
 * Minor CSS tweaks

#### 0.9.4

 * If only one post type is registered with the plugin, put it’s admin link in the
   submenu of this post type, labeled “Re-Order”

#### 0.9.3

 * Wait until admin_init to remove invalid post types (Error produced in 0.9.2)

#### 0.9.2

 * Prevent the plugin from producing errors if no post types are given
 * CSS Tweaks

#### 0.9.1

 * resolved an error with localization

#### 0.9

 * Global Posts Ordering

## 中繼資料

 *  版本 **0.9.5**
 *  最後更新 **13 年前**
 *  啟用安裝數 **80+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.5.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/global-posts-ordering/)
 * 標籤:
 * [global](https://tw.wordpress.org/plugins/tags/global/)[multiple](https://tw.wordpress.org/plugins/tags/multiple/)
   [post](https://tw.wordpress.org/plugins/tags/post/)[post types](https://tw.wordpress.org/plugins/tags/post-types/)
   [posts](https://tw.wordpress.org/plugins/tags/posts/)
 *  [進階檢視](https://tw.wordpress.org/plugins/global-posts-ordering/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/global-posts-ordering/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/global-posts-ordering/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/global-posts-ordering/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/global-posts-ordering/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/global-posts-ordering/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/global-posts-ordering/reviews/)

## 參與者

 *   [ Rasso Hilber ](https://profiles.wordpress.org/nonverbla/)
 *   [ B09 ](https://profiles.wordpress.org/basics09/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/global-posts-ordering/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.nonverbla.de/)