Title: Problem with shortcode on index.php
Last modified: August 21, 2016

---

# Problem with shortcode on index.php

 *  Resolved [FiroKun](https://wordpress.org/support/users/firokun/)
 * (@firokun)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/)
 * Hi!
    I recently use you plugin on my site. I tested the plugin on a normal page,
   all OK. But I want to put the slide in the homepage, puting the shortcode into
   index.php code but isn’t work, are don’t showing the slide, instead are show 
   the shortcode as simple text. I already prove a few ways to make the shortcode
   work on index.php but still isn’t work. How is the way to put the slide on index.
   php to show it in the homepage?
 * [http://wordpress.org/extend/plugins/slides-js-plus/](http://wordpress.org/extend/plugins/slides-js-plus/)

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

 *  Plugin Author [Jeff Clark](https://wordpress.org/support/users/jclark32/)
 * (@jclark32)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3857928)
 * try using
 * do_shortcode(‘[slides_js]’);
 *  Thread Starter [FiroKun](https://wordpress.org/support/users/firokun/)
 * (@firokun)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3857948)
 * Well, isn’t work. Probably I had been put the code wrong.
    I tried: Putting alone`
   do_shortcode('[slides_js]');` or `do_shortcode('[slides_js id="id#"]');` but 
   only show simple text. Inside the PHP tags `<?php do_shortcode('[slides_js]');?
   >` or `<?php do_shortcode('[slides_js id="id#"]'); ?>` this time isn’t show anything.
   How is?
 * Thanks for the support!
 *  Thread Starter [FiroKun](https://wordpress.org/support/users/firokun/)
 * (@firokun)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3857963)
 * Jejeje, sorry I miss to put the `echo` part in the PHP. Now it’s work with `<?
   php echo do_shortcode('[slides_js id="id#"]'); ?>`
    Thanks!
 *  Plugin Author [Jeff Clark](https://wordpress.org/support/users/jclark32/)
 * (@jclark32)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3857965)
 * sorry its <?php echo do_shortcode(‘[slides_js id=”id#”]’); ?>
 *  Plugin Author [Jeff Clark](https://wordpress.org/support/users/jclark32/)
 * (@jclark32)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3857968)
 * No need to be sorry, I forgot to tell you to put it in haha. I have a new update
   coming soon that helps with backend UI, pretty cool stuff. Stay tuned.
 * Thanks for the support and the rating!!!
 *  Thread Starter [FiroKun](https://wordpress.org/support/users/firokun/)
 * (@firokun)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3857977)
 * Nice!!
    Very good and useful plugin by the way! 😉
 *  Plugin Author [Jeff Clark](https://wordpress.org/support/users/jclark32/)
 * (@jclark32)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3858102)
 * Thank you!!!

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

The topic ‘Problem with shortcode on index.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slides-js-plus.svg)
 * [Slides JS Plus](https://wordpress.org/plugins/slides-js-plus/)
 * [Support Threads](https://wordpress.org/support/plugin/slides-js-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/slides-js-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slides-js-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slides-js-plus/reviews/)

## Tags

 * [homepage](https://wordpress.org/support/topic-tag/homepage/)
 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 7 replies
 * 2 participants
 * Last reply from: [Jeff Clark](https://wordpress.org/support/users/jclark32/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-on-indexphp/#post-3858102)
 * Status: resolved