Title: Doesn&#039;t work
Last modified: August 21, 2016

---

# Doesn't work

 *  [kraket3](https://wordpress.org/support/users/kraket3/)
 * (@kraket3)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/doesnt-work-413/)
 * I don’t know what I’m doing wrong but it doesn’t work at all for me. I’ve tried
   adding custom meta and just using categories but no matter which options I specify
   I get no search results.
 * Any ideas?
 * [http://wordpress.org/plugins/advance-wp-query-search-filter/](http://wordpress.org/plugins/advance-wp-query-search-filter/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/doesnt-work-413/#post-4285342)
 * Can’t tell what is the problem from your question. There are so many causes.
 * Possibilities:
    1. You posts don’t have the custom meta and taxonomy that you
   created in search form. 2. Wrong post type choose. 3. Plugin conflict.
 *  Thread Starter [kraket3](https://wordpress.org/support/users/kraket3/)
 * (@kraket3)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/doesnt-work-413/#post-4285357)
 * It was indeed a plugin conflict, specifically the search plugin Relevanssi. I
   guess I’ll look for another alternative for post sorting because Advance WP Query
   Search Filter has some great features I wanna keep.
 *  [mike022](https://wordpress.org/support/users/mike022/)
 * (@mike022)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-413/#post-4285467)
 * using wp 3.8.1 with wp advanced search 2 , the problem come when i made the change
   in the SEARCH.PHP and SEARCHFORM.PHP doing has it was suggested by the author.
 * NOTE THAT FOR THE TEST I HAVE DISACTIVATE ALL PLUGINS EXCEPT ADVANCED SEARCH…
 * i can login has administrator but i cant see the site’s post and pageS anymore,,
   nothing, just the graphic
 * i use twentyeleven template,
 * this is my searchform
    <?php <div id=”formulaire-recherche”> <form method=”get”
   id=”searchform” action=”<?php bloginfo(‘url’); ?>”> <div id=”recherche”> <input
   type=”text” name=”s” id=”s” value=”” /> <input type=”submit” value=”OK” id=”bouton”/
   > </div> </form> </div> ?> cause i keep “s” as id
 * and this is 2 model of the search.php form
 * 1st MODEL /////////////////////
 * /**
    * The template for displaying Search Results pages. * * [@package](https://wordpress.org/support/users/package/)
   WordPress * @subpackage Twenty_Eleven * [@since](https://wordpress.org/support/users/since/)
   Twenty Eleven 1.0 */
 * get_header(); ?>
    <div id=”content”> <div id=”colleft”> <?php WP_Advanced_Search();?
   > <div id=”colright”><?php get_sidebar(); ?></div> <p class=”clear”></p> </div
   > </div>
 * <?php get_footer(); ?>
 * 2ND ) ////////////////////////THIS IS THE ORGINAL SEARCH EXECPT THE LOOP WAS 
   REPLACED BY THE <?php WP_Advanced_Search(); ?>
 * BUT PUTTING BACK THE 2 ORIGINAL FILES AND THE SITE RUN HAS BEFORE..
    THE PLUGIN
   IS ACTIVE
 * <?php
    /** * The template for displaying Search Results pages. * * [@package](https://wordpress.org/support/users/package/)
   WordPress * @subpackage Twenty_Eleven * [@since](https://wordpress.org/support/users/since/)
   Twenty Eleven 1.0 */
 * get_header(); ?>
 *  <section id=”primary”>
    <div id=”content” role=”main”>
 *  <?php if ( have_posts() ) : ?>
 *  <header class=”page-header”>
    <h1 class=”page-title”><?php printf( __( ‘Search
   Results for: %s’, ‘twentyeleven’ ), ‘<span>’ . get_search_query() . ‘</span>’);?
   ></h1> </header>
 *  <?php twentyeleven_content_nav( ‘nav-above’ ); ?>
 *  <?php /* Start the Loop */ ?>
    <?php WP_Advanced_Search(); ?>
 *  <?php twentyeleven_content_nav( ‘nav-below’ ); ?>
 *  <?php else : ?>
 *  <article id=”post-0″ class=”post no-results not-found”>
    <header class=”entry-
   header”> <h1 class=”entry-title”><?php _e( ‘Nothing Found’, ‘twentyeleven’ );?
   ></h1> </header><!– .entry-header –>
 *  <div class=”entry-content”>
    <p><?php _e( ‘Sorry, but nothing matched your search
   criteria. Please try again with some different keywords.’, ‘twentyeleven’ ); ?
   ></p> <?php get_search_form(); ?> </div><!– .entry-content –> </article><!– #
   post-0 –>
 *  <?php endif; ?>
 *  </div><!– #content –>
    </section><!– #primary –>
 * <?php get_sidebar(); ?>
    <?php get_footer(); ?>
 * //////////////////////////////////////
    so what can i do now..the theme used 
   is running perfectly with a 20 active plugins yet and no problemo. but with these
   searchform nothing run anymore
 * help will be appreciate
 *  [mike022](https://wordpress.org/support/users/mike022/)
 * (@mike022)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-413/#post-4285468)
 * sorry, made a big mistake,..after reading again, it was more simple than the 
   way i understood,
 * i check name and id (s)
 * and put <?php WP_Advanced_Search(); ?> after deleting all the <?php while ( have_posts()):
   the_post(); ?> loop
 * i’ll check if it works

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Doesn't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advance-wp-query-search-filter.svg)
 * [Advance WP Query Search Filter](https://wordpress.org/plugins/advance-wp-query-search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advance-wp-query-search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advance-wp-query-search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/advance-wp-query-search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advance-wp-query-search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advance-wp-query-search-filter/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [mike022](https://wordpress.org/support/users/mike022/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-413/#post-4285468)
 * Status: not resolved