Title: Adding slider to HTML
Last modified: October 15, 2019

---

# Adding slider to HTML

 *  Resolved [haffy](https://wordpress.org/support/users/haffy/)
 * (@haffy)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-slider-to-html/)
 * Hi, I am trying to add a slider to my theme. I get one of the images up and it
   is static, no others will show. So seems that the problem is inside the meta 
   slider or is it something wrong with how I am adding it to the page?
 * <!– Hero Slideshow –>
    <?php echo do_shortcode(‘[metaslider id=”56″]’); ?>
 * Should I add something more, like in the functions.php or something?
    -  This topic was modified 6 years, 8 months ago by [haffy](https://wordpress.org/support/users/haffy/).
    -  This topic was modified 6 years, 8 months ago by [haffy](https://wordpress.org/support/users/haffy/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12033244)
 * Hi [@haffy](https://wordpress.org/support/users/haffy/)
 * Check the console for errors in red. Can you share a URL?
 * [https://updraftplus.com/faqs/how-do-i-open-my-browsers-developer-tools/](https://updraftplus.com/faqs/how-do-i-open-my-browsers-developer-tools/)
 *  Thread Starter [haffy](https://wordpress.org/support/users/haffy/)
 * (@haffy)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12033853)
 * There is no errors in the console. And the website is local right now (MAMP).
   Is there some other way to upload?
 *     ```
       <?php
       /**
        *
        * Template Name: Start page.
        */
   
       get_header(); ?>
   
       <!-- Hero Slideshow -->
       <?php echo do_shortcode('[metaslider id="56"]'); ?>
       ```
   
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12033862)
 * Hi [@haffy](https://wordpress.org/support/users/haffy/)
 * I don’t know how your theme is set up but usually you will also need wp_footer()
   on the page.
 * Beyond that, the best way to debug would be to disable other plugins and see 
   if it works… then one by one enable them to find the conflict.
 *  Thread Starter [haffy](https://wordpress.org/support/users/haffy/)
 * (@haffy)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12034351)
 * I have sent you the code on Slack 🙂
 *  Thread Starter [haffy](https://wordpress.org/support/users/haffy/)
 * (@haffy)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12034925)
 * When I run the preview it works fine, but not in my theme.
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12035759)
 * Hi [@haffy](https://wordpress.org/support/users/haffy/)
 * I saw the code but I’m not familiar with your theme so the code doesn’t help 
   much. You might end up needing to contact the theme developers.
 * Can you share a URL to the page? I can usually see immediately the issue just
   seeing the page in question.
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12078809)
 * Hi [@haffy](https://wordpress.org/support/users/haffy/)
 * I’ll mark this as resolved as we didn’t hear back, but feel free to reply if 
   needed.
 *  [davidrichard1122](https://wordpress.org/support/users/davidrichard1122/)
 * (@davidrichard1122)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12091288)
 * Facing issue? same no difference when adding slider to HTML in [https://best65inchtv2020.info](https://best65inchtv2020.info)
   some are showing and some are not! why it’s happening. I thought it may be due
   to site speed and i optimized the site speed but still facing! any solution for
   this?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Adding slider to HTML’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3568997)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [davidrichard1122](https://wordpress.org/support/users/davidrichard1122/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/adding-slider-to-html/#post-12091288)
 * Status: resolved