Title: Parse Error in Template Code
Last modified: October 21, 2019

---

# Parse Error in Template Code

 *  Resolved [supanaught](https://wordpress.org/support/users/supanaught/)
 * (@supanaught)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/parse-error-in-template-code/)
 * 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)

 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/parse-error-in-template-code/#post-12053258)
 * 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](https://wordpress.org/support/users/patelketan/).

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/sliderspack-all-in-one-image-sliders_e4dbc9.
   svg)
 * [Slider a SlidersPack - Image Slider, Post Slider, ACF Gallery Slider](https://wordpress.org/plugins/sliderspack-all-in-one-image-sliders/)
 * [Support Threads](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/)
 * [Active Topics](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliderspack-all-in-one-image-sliders/reviews/)

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/parse-error-in-template-code/#post-12053258)
 * Status: resolved