what is the correct PHP code to insert a slideshow into my template that displays photos from all galleries on my website? I am trying to use this and it does not work:
<?php echo do_shortcode('[slideshow id=x w=600 h=250]'); ?>
When i set the id to a specific number like 1 or 2, it works fine. But I want the slideshow to cycle through ALL galleries, not just a specific one. Does anyone have any ideas?
I have also tried putting commas between all the galleries such as the code below and it did not work:
<?php echo do_shortcode('[slideshow id=1,2,3,4,5 w=600 h=250]'); ?>
The sidebar widget has an option to cycle through all the images in all the galleries and that works fine, but I am trying to add it onto the top part of my template and have been looking for a solution for weeks. If anyone can help, I would greatly appreciate it.
- The topic ‘[Plugin: NextGEN Gallery] PHP code for slideshow’ is closed to new replies.