• Hi there,

    In my search.php file I’m using WP Loop to display all search results. Because I’m using a lot of data in custom fields I use wpdb->get_results to retrieve any extra posts.

    I would like to know if it is possible to add the results from wpdb->get_results into global WordPress results so that I can use only one loop and with sintax like have_posts(), the_post() ?

    Any help?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘search result merge get_results to global wp results’ is closed to new replies.