Hello there, I have been looking for a way to get the gallery id inside the loop but no look.
Just something like:
...
query_posts('cat=4&posts_per_page=1&orderby=rand&order=DESC');
while (have_posts()) : the_post();
...
$ID=nggGetTheGalleryId(); // this would be the function
echo nggShowSlideshow($ID,333,177);
...
endwhile;
I want to show a random gallery with a specific size inside of my home and still not have to write the size for all my posts.
Any help would be very appreciated.
Javier.