• Resolved supanaught

    (@supanaught)


    Hi there

    This is not a support question as such, but I think I’ve found a minor issue with the plugin.

    I’ve installed SlidersPack, created a new slider and hit Publish. In the Shortcode sidebar the Template Code snippet which is then auto generated has a syntax error, ie:

    ?php do_shortcode(“[sliders_pack id=”214″]”); ?>

    In the example above we need to replace the first and last open quotations with hyphens to negate the syntax error:

    ?php do_shortcode(‘[sliders_pack id=”214″]’); ?>

    Apologies if this is the wrong place to post, but just wanted to flag for consideration.

    Cheers

    S

Viewing 1 replies (of 1 total)
  • Hello,

    Thanks for reaching here.

    Please pass this code and check.
    <?php echo do_shortcode(“[sliders_pack id=’281′]”); ?>

    Note:- Please do not copy and paste the shortcode parameter because if cause the quote(“”) issue writes manually.

    Let us know if you have any other issues or queries.

    Thanks,

    • This reply was modified 6 years, 7 months ago by Ketan Patel.
Viewing 1 replies (of 1 total)

The topic ‘Parse Error in Template Code’ is closed to new replies.