- This topic has 3 replies, 2 voices, and was last updated 11 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Getting the shortcodes to work in a template.
Hi,
Hopefully this gets to you before you leave.
I’m trying to get the shortcodes to work by being inserted into a template.
`echo do_shortcode(‘[searchandfilter id=”51140″]’);
echo do_shortcode(‘[searchandfilter id=”51440″ show=”results”]’);’
The first code works and shows, but the results portion never shows up.
How can I get both to work?
Thanks,
Mike
Hello Mike
The first Shorcode is to show the filter, checkboxes, etc…
The second shotcode has to be on a page, to show the results. Try the easy way
1.Put the first shortcode in a widget text
2.Put the second shortcode in a page
3.Visit this page, and work with this.
regards