Support » Plugin: Query Multiple Taxonomies » The results page template

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Bump.

    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.

    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.

    Doesnt work for me I still get results from blog archive

    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() );

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The results page template’ is closed to new replies.