Display order on categories page
-
Thank you so much for making and supporting these really useful plugins!
With the ‘Reorder Posts’ plugin I can easily reorder posts on archive.php.
I am now using ‘Reorder by Term’ to try and order posts on category.php. In this case the custom ordering still has no affect.
Sorry in advanced if the next two questions seem more about my ignorance on how WP taxonomy works than your plugin…
On category.php I am using a shared template ( loop.php ) to loop through the posts.
loop.php uses the common if have_post() / the_post()’ pattern.
In your examples I see that you use get_posts() and then a foreach to loop.
Should I refactor my loop.php, using get_posts(), to render the custom order? Or, can I pass an argument to the_post() or something else?
If I do refactor, will I still be able to dynamically show any category’s posts through the url ‘category/category-slug-name’?
It seems like the examples assume a taxonomy to be defined in the loop or no?
Thank you again,
Help and I’ll evangelize your great work!
- The topic ‘Display order on categories page’ is closed to new replies.