Getting the shortcodes to work in a template.

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

  • This topic has 3 replies, 2 voices, and was last updated 12 years ago by Anonymous.
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)

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.