WordPress.org

Forums

Slides JS Plus
[resolved] Problem with shortcode on index.php (8 posts)

  1. FiroKun
    Member
    Posted 1 year ago #

    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/

  2. Jeff Clark
    Member
    Plugin Author

    Posted 1 year ago #

    try using

    do_shortcode('[slides_js]');

  3. FiroKun
    Member
    Posted 1 year ago #

    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!

  4. FiroKun
    Member
    Posted 1 year ago #

    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!

  5. Jeff Clark
    Member
    Plugin Author

    Posted 1 year ago #

    sorry its <?php echo do_shortcode('[slides_js id="id#"]'); ?>

  6. Jeff Clark
    Member
    Plugin Author

    Posted 1 year ago #

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

  7. FiroKun
    Member
    Posted 1 year ago #

    Nice!!
    Very good and useful plugin by the way! ;)

  8. Jeff Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slides JS Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic