WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Recent Images from a Specific Gallery (2 posts)

  1. dabnpits
    Member
    Posted 4 years ago #

    Hello, I am trying to retrieve 4 of the most recent images from a specific gallery and apply a custom template called 'home' using the following code:

    <?php print nggShowRandomRecent(recent, 4, 'home'); ?>

    This works and gets me most of the way, but I don't know how to limit the results to a specific gallery only.

    Any ideas?

  2. tictok
    Member
    Posted 4 years ago #

    HI -

    I'm trying to achieve the same thing also. Did you get anywhere with this?

    Many thanks
    Stef

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.