Posted by Antonie Potgieter in on September 22, 2009
WordPress slideshow gallery plugin usage & integration. There are 2 ways of integrating the WordPress slideshow gallery into your site.
You can embed a slideshow gallery into any WordPress post/page with the use of the slideshow shortcode. The shortcode can be used without any parameters to display the current post/page gallery images. Alternatively, you can either specify a post_id parameter to display the gallery images of a specific post/page or specify a custom parameter to display your manually added slides in the ‘Manage Slides’ section.
Current post/page gallery images
Gallery images from a specific post/page
Custom added gallery slides
You can hardcode a slideshow gallery into any of the PHP files of your WordPress theme. The first parameter is a boolean (true or false) value which tells the method whether or not it should output the gallery. Setting it to false allows you to store the output in a variable. Very similar to the shortcode, you can specify a second, post_id parameter to the slideshow method. If you leave the post_id parameter empty, null or false, the custom added gallery slides will be displayed. Here is the PHP code for the hardcoded slideshow gallery.
if (class_exists(‘Gallery’)) {
$Gallery = new Gallery();
$Gallery -> slideshow($output = true, $post_id = null);
}
?>
Gallery, Install, Integration, Slideshow, Usage, WordPress, WordPress Slideshow Gallery
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^