Looking for support? You can access the support system via your account.
- This topic has 17 replies, 2 voices, and was last updated 3 years, 8 months ago by .
You must be logged in to reply to this topic.
Looking for support? You can access the support system via your account.
Forums › Forums › Search & Filter Pro › Archive and shortcode not working, getting error message
Tagged: archive, error message, shortcode
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.
We have Search & Filter Pro Version 2.5.1 installed.
You must be logged in to reply to this topic.
© 2024 Search & Filter Support. All Rights Reserved.
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.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy