I’m having a custom post type “products” of which I need to show a list. The products are sorted by meta value into different kinds of product type. I need to set one specific product type “tools” at the bottom of the list. But it also has to be sorted by create date. So all other product types sorted by create date and then the product type “tools” – also sorted by create date. Is this possible within one wp_query?

How are the arguments for the wp_query?

Read more here: wp_query sorting – one specific meta_key value at last and then sort by create date


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: