Title: Issue when no results
Last modified: September 4, 2017

---

# Issue when no results

 *  [TheGreyRabbit](https://wordpress.org/support/users/ayo-1/)
 * (@ayo-1)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/issue-when-no-results/)
 * Hi guys,
 * everything is fine with the plugin, it works great, but there’s one thing – when
   there are no results, the page displayed isn’t user friendly. It actually contains
   nothing, only menu and footer.
 * Is it possible to load a specific standard static wordpress page when there are
   no results?
 * Thanks

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

 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/issue-when-no-results/#post-9468821)
 * Hi,
 * Well its the problem of the theme that you are using.
 * If your theme supports woocommerce that its probably has special template to 
   display search results.
    So you need to find this template. Its must contain 
   something like
 *     ```
       <?php while ( have_posts() ) : the_post(); ?>
         <?php // custom content ?>
       <?php endwhile; // end of the loop. ?>
       ```
   
 * You must modify it to something like
 *     ```
       <?php if ( have_posts() ) : ?>
           <?php while ( have_posts() ) : the_post(); ?>
               <?php // custom content ?>
           <?php endwhile; // end of the loop. ?>
       <?php else : ?>
           <?php echo 'Nothing found!'; ?>
       <?php endif; ?>
       ```
   
    -  This reply was modified 8 years, 11 months ago by [ILLID](https://wordpress.org/support/users/mihail-barinov/).
 *  Thread Starter [TheGreyRabbit](https://wordpress.org/support/users/ayo-1/)
 * (@ayo-1)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/issue-when-no-results/#post-9482328)
 * Hey, thanks for the reply!
    I will forward your message to the theme developers.
   Maybe they can help further. Cheers!
 *  Thread Starter [TheGreyRabbit](https://wordpress.org/support/users/ayo-1/)
 * (@ayo-1)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/issue-when-no-results/#post-9500210)
 * Hi again,
 * I received the following feedback from the theme developers:
 * “We have installed the plugin, but the issue does not happen on our end. It works
   perfectly fine with the search results and it provides a nothing found message
   properly.
    There is something affecting the plugin on your site”
 * There’s btw a further issue – when results are shown, the space for the sidebar
   is reserved, but nothing from the sidebar is being loaded. The sidebar in question
   works properly on the other associated pages.
 * Do you eventually have a list with incompatible plugins that break any function
   of AWS?
 * Thanks
 *  Thread Starter [TheGreyRabbit](https://wordpress.org/support/users/ayo-1/)
 * (@ayo-1)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/issue-when-no-results/#post-9500599)
 * Hi,
 * I found out where the problem with the broken page comes from (when there are
   no results).
 * It’s caused by the following code in the functions.php, which is added in order
   to remove the loop from the shop’s home page domain.com/shop/ (because I have
   to remove it!):
    [https://businessbloomer.com/woocommerce-remove-loop-shop-page/](https://businessbloomer.com/woocommerce-remove-loop-shop-page/)
 * Do you eventually have an idea how to fix the issue and keep the product loop
   removed from the shop’s home page? Also, how can I redirect the user properly
   to a custom built “nothing found” page which is more user friendly and effective?
 * Still can’t fix the issue with the missing sidebar that I mentioned above.
 * Thanks!
 *  Thread Starter [TheGreyRabbit](https://wordpress.org/support/users/ayo-1/)
 * (@ayo-1)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/issue-when-no-results/#post-9575374)
 * Hey Mihail,
 * can you help with my issues?
 * Thanks

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

The topic ‘Issue when no results’ is closed to new replies.

 * ![](https://ps.w.org/advanced-woo-search/assets/icon-256x256.png?rev=3303984)
 * [Advanced Woo Search - Product Search for WooCommerce](https://wordpress.org/plugins/advanced-woo-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-woo-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-woo-search/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-woo-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-woo-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-woo-search/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [TheGreyRabbit](https://wordpress.org/support/users/ayo-1/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/issue-when-no-results/#post-9575374)
 * Status: not resolved