Query Multiple Taxonomies
The results page template (5 posts)

  1. MDS
    Posted 2 years ago #

    i just want to change the results page behave exactly the same as my archive page, showing the results in thumbnails and let the user choose which result to click in.

    now the results page just list out all the posts in full text in one page, and a bit messy (sometimes fulltext sometimes thumbnail mixed in the results page)

    how may i change that? million thanks in advanced.


  2. mypixel
    Posted 2 years ago #


    I would also like to be able to so this as I have about 6 custom taxonomies for 2 different custom post types and I need the results page to have a different layout to that of the plain archive page for these taxonomies.
    Depending on which is the first taxonomy in the query it chooses that archive page template to display the results - so the page looks different all the time too.
    Any help greatly appreciated.

  3. reales
    Posted 2 years ago #

    Hi the way I solved this was using the Template Hierarchy here... scroll down to see the image.


    If you create a taxonomy.php page in your theme folder then all results from the plugin will be displayed using the code from that page. For example, ssjaimia, if you make a copy of archive.php and name it taxonomy.php then the results from this plugin should display the same as your archive results (but exactly the same ... you may want to modify some parts of the file).

    You can also further target the results by creating files called 'taxonomy-<your_taxonomy_name>.php' for a specific taxonomy page or 'taxonomy-<your_taxonomy_term>.php' for a page that is specific for a term from one of your taxonomies.

    If you can understand the Template Hierarchy then you can do some pretty nice things.

  4. Mark Shirley
    Posted 2 years ago #

    Doesnt work for me I still get results from blog archive

  5. Mark Shirley
    Posted 2 years ago #

    Ive done it as reals but added to his instructions

    copy archive.php and rename as reals instructions

    change this line
    get_template_part( 'content', get_post_format() );

    to get_template_part( 'content', get_post_type() );

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