• I have a custom search that has very specific requirements, those requirements have put me in the position where I need to run two separate queries on the page to get back all of the results I want to serve to the user. I am currently doing it by passing the $wp_query-> query_vars array to a temp array, modifying the array with the other set of results I want, and then passing it to a new WP_Query object. However, it is not quite giving me the results I want, and I feel that if I could instantiate a new wpqsf and pass IT the variables with the one I want changed, the process would be cleaner, however, I can’t quite seem to figure out how to instantiate a new search object correctly

    https://wordpress.org/plugins/ultimate-wp-query-search-filter/

Viewing 1 replies (of 1 total)
  • Plugin Author TC.K

    (@wp_dummy)

    This is beyond the plugin topic. Please ask the help from other forum.

Viewing 1 replies (of 1 total)
  • The topic ‘Construct a new search via code’ is closed to new replies.