跳到内容

My Post Order

v1.2.1.1

Kapil Chugh · 2011年11月8日 上架

A plugin which allows you to sort posts, pages, custom post type in ANY order and display the same in your sidebar.

正在使用
400+
评分
2.9 / 5
累计下载
6.2 万
最近更新
2013年1月11日
7 条评价需要 WordPress 3.0+已测试到 3.5.2

贡献者

截图

Add new section based on select posts individually criteria.
Add new section based on select posts individually criteria.
Add new section based on category .
Add new section based on category .
Add new section based on XML/RSS criteria.
Add new section based on XML/RSS criteria.
Selection of widget.
Selection of widget.
Posts display on site.
Posts display on site.

While WordPress allows you to make your posts sticky, or even sort them in ascending or descending order, sometimes this is just not enough. What if you want to display the posts in ANY order you need? Unfortunately there is no such functionality in WordPress, which is where this plugin saves the day.

This plugin works on sections of posts, which you can define based on the following three criteria:

  1. Select posts individually : You can use the drag-and-drop feature to rearrange posts in ANY order.
  2. Select a category : You can also select posts from any category and change the posts order.
  3. Show XML/RSS Feed : Here you just need to give the URL of XML Feed and it will fetch latest feed/posts.

You can display ordered posts in theme with query_posts or get_posts or WP_Query like this :
query_posts(‘section_name=NAME_OF_SECTION’);

Here NAME_OF_SECTION must be replaced with your actual section name. If no section found with mentioned name then nothing will change.

OR

Once the sections are created, you can display these posts using widgets.

  • If you are using custom template option in widget then template file should be placed in custom-templates folder of your plugin (/wp-content/plugins/my-posts-order/includes/custom-templates/loop.php) and (/wp-content/plugins/my-posts-order/includes/custom-templates/loop_rss.php).

Now wasn’t that easy!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums