Support » Plugin: WP Search » [Plugin: WP Search] Query Overriding

  • Hi,

    Thanks for the great plugin.

    In my sidebar I have a number of post listings (latest posts, most commented posts etc).

    When using this plugin the search overrides these and orders them the same as the search results.

    $r = new WP_Query(array('post_type' => $post_type, 'showposts' => $number, 'nopaging' => 0, 'post_status' => 'publish', 'offset' => $offset));

    I’ve tried wp_reset_query(); and wp_reset_postdata(); to no avail 🙁

    Any help would be greatly appreciated.

  • The topic ‘[Plugin: WP Search] Query Overriding’ is closed to new replies.