Aprašymas
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.
Diegimas
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.
Atsiliepimai
Programuotojai ir komandos nariai
“Default Sort Ascend” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiIšverskite “Default Sort Ascend” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.