Hi there, we have created a custom layout for our category archive pages, however I can’t find a way to change the ordering of the posts - currently they are showing the latest first, however many of our posts are part of a series and are numbered, so the numbering goes backwards. Could you please help us here? Screenshot of looper settings in secure note.
Hi @lifehouseglobal,
Thanks for reaching out.
The posts are shown in the descending order by default, if you are using the Query Builder you can select the Order By field and the order. In your case, the ascending would be the correct option to select.
Hope it helps.
Thanks
Hi there,
Thanks for the reply and support. I understand how we can do this, however I’m using one archive layout for all our categories and tags - so in the Taxonomy option in the screenshot above, what should I select there? I’m hoping I don’t have to create a custom layout for every archive page as there are far too many. Please let me know how to achieve this.
Hello @lifehouseglobal,
By the default, WordPress will display post items in chronological order. If you want to change the ordering of the post especially in the archive pages, you will have to do it manually by adding a custom PHP function in your child theme’s functions.php file. Perhaps this article can help you:
Be advised that custom coding is beyond the scope of our support under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One service for further assistance.
Thank you for your understanding.
Okay, understood - thanks for the tips.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.