Forums

[Plugin: NextGEN Gallery] Nextgen Recent Images - can I exclude galleries? (4 posts)

  1. kkroc
    Member
    Posted 3 years ago #

    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

  2. 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

  3. kkroc
    Member
    Posted 3 years ago #

    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 ?

  4. kkroc
    Member
    Posted 3 years ago #

    Alex, Is there a way to exclude galleries when you use the above PHP function?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.