Support » Plugin: Slides JS Plus » Problem with shortcode on index.php

  • Resolved FiroKun

    (@firokun)


    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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Clark

    (@jclark32)

    try using

    do_shortcode(‘[slides_js]’);

    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!

    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

    (@jclark32)

    sorry its <?php echo do_shortcode(‘[slides_js id=”id#”]’); ?>

    Plugin Author Jeff Clark

    (@jclark32)

    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!!!

    Nice!!
    Very good and useful plugin by the way! 😉

    Plugin Author Jeff Clark

    (@jclark32)

    Thank you!!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with shortcode on index.php’ is closed to new replies.