Archive and shortcode not working, getting error message

Forums › Forums › Search & Filter Pro › Archive and shortcode not working, getting error message

Viewing 10 posts – 1 through 10 (of 18 total)
  • Anonymous
    #254441

    After using Search & Filter for a couple of years, we just got the pro version and it broke everything. I can’t get it to work. We have a twentythirteen child theme. I used to have the search form on our child theme archive.php template. It worked well by embedding the shortcode in the template:
    <?php echo do_shortcode('[searchandfilter taxonomies="level,topic,function,grammar,pde_chapter,pde_grammar" headings="Levels,Topic,Function,Grammar" show_count="1,1,1,1" hide_empty="1,1,1,1" submit_label="Filter"]'); ?>

    I tried to follow the same example by selecting Display Results as an Archive and added the following to our template:

    <?php echo do_shortcode('[searchandfilter id="1498"]'); ?>
    <?php echo do_shortcode('[searchandfilter id="1498" show="results"]'); ?>

    I then indicated a class of a div in the template where the ajax results should be displayed.
    The result: The search form shows up, but the results do not reload in the indicated div element.

    I then tried to change it to Display Results using a Shortcode.
    And added the following shortcodes to a page:

    [searchandfilter id="1428"]
    [searchandfilter id="1428" show="results"]

    But then I get an error message:

    Notice: This Search Form has not been configured to use a shortcode.

    I have tried various configuration and now I am completely at a loss.
    Please help.

    Anonymous
    #254442

    We have Search & Filter Pro Version 2.5.1 installed.

    Anonymous
    #254445
    This reply has been marked as private.
    Trevor
    #254461
    This reply has been marked as private.
    Anonymous
    #254484
    This reply has been marked as private.
    Trevor
    #254548
    This reply has been marked as private.
    Anonymous
    #254638
    This reply has been marked as private.
    Trevor
    #254643
    This reply has been marked as private.
    Anonymous
    #254646
    This reply has been marked as private.
    Trevor
    #254679
    This reply has been marked as private.
Viewing 10 posts – 1 through 10 (of 18 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.