Title: [Plugin: Slideshow Gallery] Shorcode working&#8230;hardcoding into single.php not working&#8230;.
Last modified: August 19, 2016

---

# [Plugin: Slideshow Gallery] Shorcode working…hardcoding into single.php not working….

 *  Resolved [Hotcoffee](https://wordpress.org/support/users/hotcoffee/)
 * (@hotcoffee)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-slideshow-gallery-shorcode-workinghardcoding-into-singlephp-not-working/)
 * 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.

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

 *  [DanielAX](https://wordpress.org/support/users/danielax/)
 * (@danielax)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-slideshow-gallery-shorcode-workinghardcoding-into-singlephp-not-working/#post-1601505)
 * The [slideshow] shortcode does not work at all. Please help
 *  Plugin Author [Tribulant Software](https://wordpress.org/support/users/contrid/)
 * (@contrid)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-slideshow-gallery-shorcode-workinghardcoding-into-singlephp-not-working/#post-1601506)
 * [@danielax](https://wordpress.org/support/users/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

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

The topic ‘[Plugin: Slideshow Gallery] Shorcode working…hardcoding into single.php
not working….’ is closed to new replies.

 * ![](https://ps.w.org/slideshow-gallery/assets/icon-256x256.png?rev=1187457)
 * [Slideshow Gallery LITE](https://wordpress.org/plugins/slideshow-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-gallery/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Tribulant Software](https://wordpress.org/support/users/contrid/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-slideshow-gallery-shorcode-workinghardcoding-into-singlephp-not-working/#post-1601506)
 * Status: resolved