Forums Forums Search & Filter Pro Getting the shortcodes to work in a template.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #5720

    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

    Anonymous
    #5737

    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

    Anonymous
    #5747
    This reply has been marked as private.
    Anonymous
    #5748
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)