Hi Tom and good GP people!
My client is requesting that I provide a way, on the front-end, to sort or re-sort the order of blog post listing on the front-end of the website.
For example, we have a category of posts called “Publications” and they want to be able to click/select “Sort by Date ASC, Date DESC, or Alpha by Title.”
I saw this thread https://generatepress.com/forums/topic/sorting-posts/ – which got me thinking that if I could pass the sort via the query string, that might work?
I looked through the list of filters, but I’m not sure which one might help me achieve this.
I appreciate any help in the right direction.