Title: problem using in theme
Last modified: August 24, 2017

---

# problem using in theme

 *  [srfrankie](https://wordpress.org/support/users/srfrankie/)
 * (@srfrankie)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-using-in-theme/)
 * using
    <?php echo do_shorcode(” MY_SLIDE_ID “); ?> inside of page.php, home.php
   and index.php not work fine, show all images one bellow of the other…

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

 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-using-in-theme/#post-9436556)
 * Can you provide me with the link please, so I can have a look.
 *  Thread Starter [srfrankie](https://wordpress.org/support/users/srfrankie/)
 * (@srfrankie)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-using-in-theme/#post-9441995)
 * here is my code of index.php: if try to use a shortcode in home.php not work
 *     ```
       <!DOCTYPE html>
       <html>
         <head>
           <meta charset="utf-8">
           <title><?php bloginfo('name');?></title>
         </head>
         <body>
           Index
           <!-- in the line bellow include a page form, in the page the shortcode work's -->
           <?php include 'page.php'; ?>
           <?php
         			while ( have_posts() ) : the_post();
   
         			// get_template_part( 'template-parts/page/content', 'page' );
               ?> <a href="<?php the_permalink();?>"><h2><?php the_title(); ?></h2></a>
               <?php the_excerpt(); ?>
               <?php
         			endwhile; // End of the loop.
         			?>
   
               <!-- in the index.php not work the same line of code -->
               <?php echo do_shortcode("[slide-anything id='63']"); ?>
         </body>
       </html>
       ```
   
 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problem-using-in-theme/#post-9443877)
 * Are you getting any Javascript errors?
    (press CTRL + SHIFT + J to display your
   JavaScript console)

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

The topic ‘problem using in theme’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slide-anything.svg)
 * [Slide Anything - Responsive Content / HTML Slider and Carousel](https://wordpress.org/plugins/slide-anything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slide-anything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slide-anything/)
 * [Active Topics](https://wordpress.org/support/plugin/slide-anything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slide-anything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slide-anything/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/problem-using-in-theme/#post-9443877)
 * Status: not resolved