Add website customer service WeChat and ask more questions

List page output in ascending order | The first published content comes first

admin 2021-08-12 10:35:18 two thousand eight hundred and thirty

The list content of the home page, category page, tab page, date page, author page, and search page can be sorted in ascending order.

In other words, let the latest content come first.


As for what is ascending order, descending order, positive order and reverse order, we were all foolishly confused.

People always ask me how to output the contents of the classified list page in reverse order. In fact, according to the correct method, it is in positive order, because zblog The category list page is in reverse order by default.

Here, ascending order=positive order, descending order=reverse order.

Before the plug-in came into being, I would tell him how to modify the zblog website program to achieve the ascending output of the content of the article list page, but it always taught people to change the source code of the website program, which seemed to be troublesome!

Now, you can directly use our plug-in to achieve these!


Screenshot of plug-in settings:

 List page output in ascending order | The first published content is in the first Z blog PHP page


Share to:

Z-blogPHP

Netizen comments