Filtering a custom query (WP_QUERY)
-
Hi team,
I would like to know if there is some way to filter a custom WP_QUERY results. I have a custom product searcher based on several atributes and some database extra tables and I get bunch of product ID’s. Then I’m doing a custom WP_QUERY with ‘post__in’ parameter filled with the products ID’s.
I would like to know if there is some way to have my filters available so they only show available filters for the result ID’s and they work as a natural archive into Woocommerce with ‘have_post()’ function.I’m able to change my method to adapt it to diferent procedure if it’s necessary but for sure I need those post ID’s only to be displayed.
Is there any way to archive this?
Thank you in advanceThe page I need help with: [log in to see the link]
The topic ‘Filtering a custom query (WP_QUERY)’ is closed to new replies.