How to sort post order by category?

hello11
Apr 08, 2018 01:18 PM 1 Answers General
Member Since Feb 2018
Subscribed Subscribe Not subscribe
Flag(0)
Hi, I have a site with multiple post grids. I would like to be able to order them by category to make sure a specific category is showing up first - how can I do this? Is this possible? Thanks!
2 Subscribers
Submit Answer
Please login to submit answer.

1 Answers
Sort By:
Best Answer
0
Nur Hasan
Apr 08, 2018
Flag(0)

Welcome to our forum.

Unfortunately sort by category isn’t supported by WP_Query, if this is possible by WP_Query then we could add in future version.

https://codex.wordpress.org/Class_Reference/WP_Query

 

Regards

Sign in to Reply
Replying as Submit