Tagged: categories, menus, sort order
- This topic has 3 replies, 2 voices, and was last updated 6 years, 3 months ago by Mahesh.
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!
JimDecember 22, 2016 at 10:43 am #105741MaheshKeymaster
@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.phpin your child theme’s folder. You can get the file from the link below.
MaheshDecember 22, 2016 at 7:02 pm #105763djonestepParticipant
Wow! Thanks so much for this!December 23, 2016 at 12:38 pm #105790MaheshKeymaster
@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!
- The topic ‘Change sort order of posts by categories’ is closed to new replies.