Do you want to change the order of your blog posts in WordPress?
您是否要更改WordPress中博客文章的顺序?
By default, WordPress displays your blog posts in reverse chronological order (newer posts first), but sometimes you may need to move specific posts up or down.
默认情况下,WordPress按相反的时间顺序显示博客文章(先显示新文章),但是有时您可能需要上下移动特定文章。
While it may feel like there is no way to do this in WordPress, you’ll be surprised to learn how easily you can change post order using multiple ways.
虽然感觉好像无法在WordPress中执行此操作,但您会惊讶地发现可以轻松地使用多种方式更改过帐顺序。
In this article, we will show you 4 different ways to re-order blog posts in WordPress. You can pick a solution that looks easier and fits your needs.
在本文中,我们将向您展示4种不同的方法来重新排序WordPress中的博客文章。 您可以选择一种看起来更轻松且适合您的解决方案。
为什么要重新排序WordPress中的博客文章? (Why Re-order Blog Posts in WordPress?)
If you are just starting a blog, then you will not need to re-order your blog posts right away. However as your content grows, you may want to explore different ways to promote content across your website.
如果您只是开始创建博客 ,则无需立即重新排序博客文章。 但是,随着内容的增长,您可能需要探索不同的方法来在整个网站上推广内容。
One of them is to make specific posts more prominently displayed on the front page, blog page, recent posts, or archive pages.
其中之一是使特定帖子更显眼地显示在首页, 博客页面 ,最新帖子或存档页面上。
Now the problem is that WordPress normally displays your blog posts in a reverse chronological order. There is no option to simply just move a post up and down.
现在的问题是,WordPress通常按相反的时间顺序显示您的博客文章。 没有选择只是简单地上下移动帖子。
Does this mean you cannot bring your older articles to the front page? Or remove a newer article from the recent posts?
这是否意味着您不能将较旧的文章带到首页? 还是从最近的帖子中删除较新的文章?
No, not at all.
一点都不。
There are multiple workarounds that let you do just that. Depending on your needs, you can choose the method that suits your requirements.
有多种解决方法可以让您做到这一点。 根据您的需要,可以选择适合您要求的方法。
Let’s take a look at some of the ways