WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Pull newest images from all galleries in nextgen gallery (4 posts)

  1. mrbretterick
    Member
    Posted 3 years ago #

    I have a jquery slider that displays on the homepage of my site. I'm wondering if there is a function I can call in PHP that will pull X amount of the newest images.

    Can someone point me to some documentation or an example of making calls like this for the nextgen gallery?

  2. Joseph
    Member
    Posted 3 years ago #

    Use the recent shortcde: [recent max="7" template="filename" id="3" mode="date" /]

    I think the id and mode parameters are optional. The id parameter is for displaying recent images from a particular gallery and mode "can be one of (id, date, sort). Recent pictures are delivered by addition to database (id), exif date (date) or user sort order (sort)".

  3. mrbretterick
    Member
    Posted 3 years ago #

    Thanks this helps a lot, however, I'm wondering if there is a PHP function I can call directly in the PHP?

  4. Alex Rabe
    Member
    Posted 3 years ago #

    see nggfunctions.php here are all frontend functions

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.