Unable to load

Forums › Forums › Search & Filter Pro › Unable to load

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #236720

    I have created a custom post type archive populated with custom post called film_kernal.

    This is currently set to my homepage.

    By default this displayed all posts of type film_kernal. These are displayed within <divs> containted within the standard ‘wrap‘ container that comes as part of the archive.php page in the twentyseventeen theme, although in my case I have created a child theme and created a new archive page based on the templatecalled archive-film_kernal.php

    On this page I have added and am displaying a form that I’ve generated with searchandfilterpro plugin that appears in a left hand side custom sidebar.

    The fields shown are the terms associated with a custom taxonomy I’ve created called kernal_category. Each film_kernal post is associated with a category is this taxonomy.

    My reason for using searchandfilterpro was the ajax functionality to configure my page such that when a user selects filter options the page loads without reloading the whole page – identicle to the demo site here:

    https://demo.searchandfilter.com/movies/

    Problem

    My filters are not behaving this way, instead when selecting a category to filter by the search results are appearing but only by loading the default page for the post type.

    For example, if I select Business in my filter it will redirect to https://www.mydomain.com/kernal_category/business/ and will correctly filter the posts that match that taxonomy term.

    I’ve read, and re-read the searchandpro documentation but cannot figure out where I am going wrong.

    My searchandfilterpro settings are:

    General > Search in the following post types: Kernals
    General > Auto Submit Form: No
    Display Results > Method: Post Type Archive
    Display Results > Enable Filtering on Taxonomy Archives: Yes
    Display Results > Load Using Ajax: No (to assit debugging, does not work with turned on either)

    Trevor
    #236737

    If you have this setting ON:

    Display Results > Enable Filtering on Taxonomy Archives: Yes

    then it will always re-direct to the taxonomy page. If that is what you wish to avoid, then have this OFF.

Viewing 2 posts – 1 through 2 (of 2 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.