Tagged: categories, menus, sort order
- This topic has 3 replies, 2 voices, and was last updated 7 years, 11 months ago by Mahesh.
-
AuthorPosts
-
December 21, 2016 at 8:46 pm #105709djonestepParticipant
I have created menu items for my categories and I would like to order the results in different order than by latest posted. For instance, I have a category of “key concepts” and I would like to order the posts alphabetically. Is there somewhere I can edit the php source to do that without causing problems elsewhwere? Normally, I would edit the category.php file I assume, but this isn’t part of the Clean Journal theme …
I can’t see any switches in the the customization panel that would allow me to do this.
Any ideas welcome!
Many thanks!
JimDecember 22, 2016 at 10:43 am #105741MaheshParticipant@djonestep: For this, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child them theme add
category.php
in your child theme’s folder. You can get the file from the link below.
http://bit.ly/2ihHhgORegards,
MaheshDecember 22, 2016 at 7:02 pm #105763djonestepParticipantWow! Thanks so much for this!
December 23, 2016 at 12:38 pm #105790MaheshParticipant@djonestep: Thank you for your appreciation. If you like my support and Clean Journal theme then please support by providing your valuable review and rating at https://wordpress.org/support/view/theme-reviews/clean-journal?rate=5#postform
Have a nice day!Regards,
Mahesh -
AuthorPosts
- The topic ‘Change sort order of posts by categories’ is closed to new replies.