內容簡介
AStickyPostOrderER 讓您可以在 WordPress 2.3+ 博客中按類別、標籤或整體自定義發布文章的顯示順序。
當您把 WordPress 用作內容管理系統時非常有用。
現在具有自我覆蓋的功能。
使用方法:
插件安裝完成後,轉到「工具」,然後選擇「AStickyPostOrderER」。
插件會顯示您的每個類別以及使用中的標籤列表。
類別和標籤名稱是連結,每個後面都跟著單選按鈕和一個限制欄位。
排序: 按下面的類別或標籤名稱手動建立特定的文章順序,以在該類別或標籤的默認排序文章之前顯示它們,或重新排列首頁(首頁)和存檔頁面上的所有文章。
(請注意:您必須單獨為要排序的每個類別或子類別設置順序,如果有足夠多的人表達出對在索引視圖中設置順序的需求,我將添加插件功能以將索引視圖中的順序傳播到所有或特定的類別標籤。如果需要此功能,請給我發郵件。)
以及/或
Meta: 使用單選按鈕指定超強置頂、次置頂、默認或下拉式的置頂。
超強置頂: 顯示在任何其他文章之前(您可以設置此類別或標籤中應該獲得此優先考慮的文章數量的限制,例如,如果您希望帶有標籤「活動」的最新文章在任何包含該文章的類別列表中都顯示在其他文章之前,請在與「活動」標籤旁邊的文本字段中放置1,並將其單選按鈕設置為「超強置頂」)
次置頂: 顯示在為給定視圖單獨排序的文章之後,但在未排序的文章之前顯示
默認: 正常處理(除個別排序文章之外)
下拉式: 只在其他所有文章之後顯示
在頁面底部點擊「更新 Meta-Stickyness」以使您的更改生效 . . .
覆蓋
如果您想要在不使用自定義順序的情況下列出文章,可以在網址中加入「?aspo=vanilla」,或者如果您使用 query_posts 創建列表,則添加 aspo=vanilla,例如「query_posts('cat=13&showposts=10&aspo=vanilla');」
外掛標籤
開發者團隊
原文外掛簡介
AStickyPostOrderER lets you customize the order in which posts are displayed per category, per tag, or over-all, in WordPress 2.3+ blog.
Useful when using WordPress as a Content Management System.
Now with the ability to override itself.
How to:
Once the plugin is installed, go to “Tools”, “AStickyPostOrderER”.
The plugin displays a list of your categories as well as a list of tags in use.
The category and tag names are links (used to make ‘Sorties’) each followed by radio buttons and a Limit field.
Sorties: Click a category or tag’s name below to manually create an order of some or all of its contained posts to be shown before the default ordered posts in that category or tag, or re-arange all posts as they apear on home(index) and archive pages.
(Please Note: You have to individually set order for each category or sub category you want to order posts in, if enough people express it as a requirement I’ll add functionality for the plugin to propagate order set in the index view to either all- or specific categories tags. Mail me if you need this.)
AND / OR
Meta: Use the radio buttons to specify meta-stickyness, respectively:
Super-sticky: Show before anything else (you can set a limit for how many posts from this cat or tag should be given this preferential treatment, e.g. if you want the latest post with the tag ‘events’ to show before anything else in any category listing that contains that post place 1 in the text field next to the ‘events’ tag and set it’s radio button set to ‘Super-sticky’ )
Sub-sticky: Show after individually ordered posts (‘Sorties’) for given view but before un-sorted posts
Default: Treat normally (except for individually ordered posts)
Droppy: Show only after everything else
and remember to click ‘update meta-stickyness’ at the bottom of the page for your changes to, ahemmm, ‘stick’ . . .
Override
If you want to have posts listed without the customised order you can do that by having ‘?aspo=vanilla’ in the url, or if you created a listing with query_posts add aspo=vanilla, eg. ‘query_posts(‘cat=13&showposts=10&aspo=vanilla’);’
