Forums Forums Search & Filter Pro Click a filter, but it shows all results and does not filter [Please help!]

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #6204

    URL: http://lbsofva.com/new/catalog/

    I have tried all the options and configurations and cannot seem to figure this out. I have four custom posts each with different attributes and When I try to filter between them, the results do not change. It still shows the same 4. There is only one entry for each so only one should when a filter is clicked. I can provide WP login if need and any help is greatly appreciated. Thanks!

    Anonymous
    #6212

    I changed and added it to a custom archive page template: http://lbsofva.com/new/catalog-items/ – Still the same results with the filters. They do not actually filter anything. I have posts with new and used attributes and well as an example of each type of trailer. Any help is greatly appreciated!

    Ross Moderator
    #6240

    Hey Travis

    Are you using a custom template? If not, it is highly recommended you enable this in the backend – otherwise you have no control over how results are displayed.

    As a default setting “search.php” as the filename is good for most themes.

    If you have this setting enabled, then the next thing to do is to edit this template (in the case above it will be search.php).

    Some themes add their own queries in to the templates for displaying posts/archives/search results. S&F uses the default loop in WP (and themes should really be too) but if there is a custom query in this template then it is overriding the search results and replacing them with the results for its own query.

    What you need to do is make sure that the template that is being using for S&F, uses the standard posts loop from WordPress and that there are no custom queries interrupting this inside the template.

    The main things you do not want to see are query_posts, get_posts and WP_Query – if these are in the template for S&F then this is what will be causing the issue.

    Does that make sense? I can explain further if you need

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