Forums Forums Search & Filter Pro Display results on the current Taxonomy Page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #257111

    Hi,

    I’m using your plugin to filter my custom post type on my custom taxonomy page.
    For exemple my Custom post type is PRODUCT and my custom taxonomy is PRODUCT CATEGORIES
    I have some products inside the taxonomy TSHIRT.
    My custom taxonomy TSHIRT url is : mywebsite.com/produits/tshirt/
    On this page i want to add te S&F form to filter my products but i want to display the filter results on the same page “mywebsite.com/produits/tshirt/”
    And i want to do that with on other taxonomy SWEATSHIRT.

    I want to use the same S&F form and the same template “taxonomy.php”.

    Is it possible, because when i’m using the DISPLAY RESULTS : as an archive, it doesn’t work.
    Waiting for your help.

    Thanks;
    Simon.

    Trevor
    #257128

    Is this in WooCommerce, or another e-commerce plugin, or are the post type and taxonomy custom made?

    Are you able to send me a live link/URL to your search page so I can take a look?

    Anonymous
    #257132
    This reply has been marked as private.
    Trevor
    #257165

    I think I understand. You may need to use the Post Type Archives method, with 3 important settings set:

    1. The product category taxonomy must be a field in the form.
    2. You need to set autodetect category/taxonomy:

    https://www.screencast.com/t/3B40jPYRF4SA

    3. And also enable filtering on Taxonomy Archives:

    https://www.screencast.com/t/piCPyshb6

    Anonymous
    #257167
    This reply has been marked as private.
    Trevor
    #257222

    There could be a problem in that code, yes, but finding that would be outside the scope of our support. Did you use that code to get something specific in the way of pagination? My way to get pagination is to simply use the free WP-Pagenavi plugin, as that needs only code like this:

    <div class="pagination">
    <?php
    if (function_exists('wp_pagenavi')) 			{
    	wp_pagenavi( array( 'query' => $query ) );
    }
    ?>
    </div>

    Assuming that the WP_query array is named $query. Then you can format the pagination as you wish (there is another addon plugin, also free, that adds more formatting:

    https://wordpress.org/plugins/styles-for-wp-pagenavi-addon/

    Anonymous
    #257232
    This reply has been marked as private.
    Trevor
    #257234

    Thanks for getting back to me. I will close this thread for now.

Viewing 8 posts - 1 through 8 (of 8 total)