[Plugin: NextGEN Gallery] Add nextgengallery slideshow to homepage
-
I have added the following code to my front page in order to display a nextgen slide show. Here is the code i added:
‘ <?php
$gallery_id = get_post_meta( $post->ID, ‘gallery_id’, true); // Get gallery id from custom field data
if( isset($gallery_id) ){
echo “<div class=\”post-gallery\”>”;
echo nggShowGallery( $gallery_id=4 ); // Display the gallery
echo “</div>”;
}
?> ‘What I end up with is thumbnails of all the photos, and above it a link that says ‘show slideshow.’ But I want the slide show itself. Also, if I click on the link I get another page entirely!
Can someone help me? Thanks!https://www.ads-software.com/extend/plugins/nextgen-gallery/
- The topic ‘[Plugin: NextGEN Gallery] Add nextgengallery slideshow to homepage’ is closed to new replies.