- The Univ of TX / COERLL UT(Private) July 29, 2020 at 6:41 pm #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.
You must be logged in to reply to this topic.
Our support hours are:10am - 5pm (GMT), Monday - Friday
Please be aware that tickets opened over the weekend will looked at on Monday.