Does anyone know how to use the random images script, but to exclude some galleries?
<?php
if (function_exists("nggDisplayRecentmages"))
{ nggDisplayRecentImages($number_of_pic,$Width,$Height); }
?>This works, but it includes all galleries. I need to not include a few.
Thanks!
Kevin
bee dudler
Member
Posted 3 years ago #
Hi,
for the sidebar widget you can go to your theme->widget->gallery there you can enter selected gallery ids separeted by commas above you can chose if those are the ones to be shown or excluded.
best regards
bee
I know, but I am trying to put this in a template file instead of the sidebar.... It works fine, but I need to exclude a few galleries ?
Alex, Is there a way to exclude galleries when you use the above PHP function?