Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daniel Gilfoy

    (@dgilfoy)

    Hello strongtyer,

    For all shortcodes used in template files rather than in pages you need to use the function do_shortcode().

    so for the testimonials you’d do:

    echo do_shortcode('[your_whole_shortcode_here attribute="value"]');

    And so on. Just make sure if you use ” to enclose your shortcode you use ” to enclose your shortcode attributes.

    Hope this helps,

    Daniel

    Plugin Author ivycat

    (@ivycat)

    Hello strongtyer,

    For all shortcodes used in template files rather than in pages (in WordPress Editor) you need to use the function do_shortcode().

    So for the testimonials you’d do:

    echo do_shortcode('[your_whole_shortcode_here attribute="value"]');

    And so on. Just make sure if you use ” to enclose your shortcode you use ” to enclose your shortcode attributes.

    Hope this helps,

    Daniel

    Thread Starter strongtyer

    (@strongtyer)

    Thanks. That’s what I needed to know! I think some of the instructions could be unclear for someone with little experience in php or html.

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Thanks for the feedback, strongtyer. We’ll be working on improving the documentation as time permits. In the meantime, please feel free to post here in the support forum if you’ve got questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wont work inside header’ is closed to new replies.