Query Multiple Taxonomies
Empty query page template? (1 post)

  1. meadows.pete
    Posted 3 years ago #


    I'm using QMT to search WooCommerce attributes and it works great, but when the user performs an empty search - i.e. they just hit the submit button without selecting from a dropdown - the search results page is 'broken' containing a mix of products and blog articles without any styling.

    I created taxonomy-pa_MYATTRIBUTE.php templates inside my theme folder for the search results, but I don't know what I have to do to create a template for when an empty search is performed. Ideally, the submit button would be hidden until an option is selected to prevent the issue, but otherwise a 'no results found' page would do.

    Can anyone help me? Here's the site - http://digitalmeadows.co.uk/londonbb - the filter appears on the home page next to the map, and also in the sidebar when you get into the site. I did find this thread - http://wordpress.org/support/topic/plugin-query-multiple-taxonomies-show-all-custom-type-if-no-filters-selected?replies=9 - but I don't really understand what the solution was. I'm fairly new to this.




Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Multiple Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic