Title: Paste shortcode but slider has an Error
Last modified: August 30, 2016

---

# Paste shortcode but slider has an Error

 *  Resolved [Lordwarz](https://wordpress.org/support/users/lordwarz/)
 * (@lordwarz)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/paste-shortcode-but-slider-has-an-error/)
 * Hello,
 * I created my slider but when i try pasting this code that it gives me.
 *     ```
       <?php
       echo do_shortcode('[smartslider2 slider="3"]');
       ?>
       ```
   
 * and then refresh the page to see if its set and ready, it shows the slider dismantled,
   with no sliding effect just the images on top of one another.
 * Any help?
    Thank you.
 * [https://wordpress.org/plugins/smart-slider-2/](https://wordpress.org/plugins/smart-slider-2/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/paste-shortcode-but-slider-has-an-error/#post-6737208)
 * Hi! This problem can happen, when our files aren’t called in. You theme probably
   doesn’t have this php code inside it’s header.php file:
    `wp_head();` and your
   footer should have this: `wp_footer();` because these are used by plugins to 
   call in their files.
 * But the problem could be also something bigger, like some important part is missing
   from the html code, so one of these:
    `</head>` `</body>` `</html>`
 * You can read about this in here:
    [http://www.nextendweb.com/wiki/smart-slider-documentation/troubleshooting/#header_footer](http://www.nextendweb.com/wiki/smart-slider-documentation/troubleshooting/#header_footer)
 * (When you are editing your theme, make sure to have a backup, and you should 
   edit it in your ftp, not the backend, just to be sure, that you won’t make a 
   php error, which can cause a blank page, maybe in your whole admin area too.)
 * If you need help, please send me an admin account: [gabor@nextendweb.com](https://wordpress.org/support/topic/paste-shortcode-but-slider-has-an-error/gabor@nextendweb.com?output_format=md)

Viewing 1 replies (of 1 total)

The topic ‘Paste shortcode but slider has an Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smart-slider-2_a3918b.svg)
 * [Smart Slider 2](https://wordpress.org/plugins/smart-slider-2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-slider-2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-slider-2/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-slider-2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-slider-2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-slider-2/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/paste-shortcode-but-slider-has-an-error/#post-6737208)
 * Status: resolved