WordPress.org

Forums

Tribulant Slideshow Gallery
[resolved] [Plugin: Slideshow Gallery] Shorcode working...hardcoding into single.php not working.... (3 posts)

  1. Hotcoffee
    Member
    Posted 4 years ago #

    Your plug-in is working great for me when I include the short code into a post... however when I try to put in your code into my PHP page nothing shows up... here's what I'm putting into the single.php

    <?php if (class_exists('Gallery')) { $Gallery = new Gallery(); $Gallery -> slideshow($output = true, $post_id = null); }; ?>

    It is within the loop and I do have images belonging to that post. Thanks for any ideas.

  2. DanielAX
    Member
    Posted 4 years ago #

    The [slideshow] shortcode does not work at all. Please help

  3. Tribulant Software
    Member
    Plugin Author

    Posted 4 years ago #

    @DanielAX,

    If you want to display the slides from the Slideshow Gallery > Manage Slides section, try the shortcode [slideshow custom=true]

    To display a slideshow with the gallery images uploaded to a WordPress post, use [slideshow post_id=X] where X is the ID of the post.

    Let me know if this helps.

    All the best,
    Antonie

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tribulant Slideshow Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic