Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Default Sort Ascend

Apraksts

By default, the sort order for queries in WordPress is descending. This will produce posts in reverse chronological order, the desired result for most blogs.

In some cases, it may be desirable to have posts in ascending order. When activated, this plugin changes the default order from descending to ascending. This affects all queries (home page, archives, dates, etc). Deactivating the plugin returns the default order to descending.

IF YOU DON’T LIKE THE RESULT, IT’S THE THEME

How well this works out varies from theme to theme. Depending on a theme’s navigation labels for posts, things may or may not make sense. If labels are “Earlier” and “Later”, things will seem backwards. Some themes make sense either way. For example, in the “Twenty Fifteen” theme, “Previous” is above “Next”, suggesting list order rather than time.

Uzstādīšana

From your WordPress dashboard:
Visit ‘Plugins > Add New’
Search for ‘Default-Sort-Ascend’
Activate from your Plugins page.

From WordPress.org:
Download Default-Sort-Ascend.
Upload ‘default_sort_ascend.php’ to the ‘/wp-content/plugins/’ directory.
Activate from your Plugins page.

Atsauksmes

17 maijs, 2017
Hi, This plugin saves my life, it works perfectly well, thank you very much! WordPress 4.7.5 with GeneratePress
26 septembris, 2016
This is my best part of using this plugin. It works just out of the box. That enables my posts to be reordered from the oldest to newest,–just like pages in a book. This is useful if you write a wordpress site as a book, making it easier for some users to travel from one page to the another, if your content is a full post without a <!–more–> tag. This is a fun plugin to use for writing fictional stories like a book; arrange tutorials, wiki content, and more. How do I found out: As I activated the plugin network wide; it started running without any trouble! I believe this plugin has did an awsome job with arranging posts in ascending order. As I test read my site; it’s kind of like reading a book. I don’t need to go to the last page to update my older posts. Without this plugin… It will be awkward to edit posts from the oldest to newest. Writing a new post is kind of like adding a new page to a book. No need to change your theme’s code. The advantage of using this plugin is: You can enable to expand your site with newer posts via the last page,–all without a worry. The disadvantage is: If you have news archives; this will not do because, most news sites have descending posts,–enabling visitors to catch the recent news as they visit news sites. I don’t need to go to the control panel, and adjust the settings. All I have to do just activate it, and let it do the rest of the work. I liked this plugin!
3 septembris, 2016
Thank you! This did exactly what it said it would do.
Lasīt 7 atsauksmes

Autori un izstrādātāji

“Default Sort Ascend” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Default Sort Ascend&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.