Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Display recent galleries picts from selected album

  • Hi everyone, hi Photocrati,

    I use NGG 2.0.59 and WP 3.8.1 and I wonder if there is a way through shortcodes to display recent picts from galleries that are parts of a selected album and into a custom template (the new NGG 2.0 GUI we use in the page content editor can’t do it)…

    For the moment, with the new NGG 2.0 GUI we use in the page content editor I can:
    – Select NextGEN Basic Thumbnails as a Display Type.
    – Select Recent Images as source.
    – Define Number of Images To Display.
    – Select a custom template (located into the ‘nggallery’ dir into my WP theme) to customize the display settings.

    This works great as you can see in my home page > (my custom template also retrieves and displays Galleries names and links for the picts that are displayed in the short recent picts list).

    But my goal would be to do the same but by selecting an album:
    – Select an album id.
    – Retrieve galleries that are linked to this album.
    – Retrieve recent images for these galleries, limited to xx images.
    – Select a custom template to display the picts.

    Is it possible to do this kind of thing with shortcodes? The ‘Other Examples’ section in the page is empty, no other examples are shown…

    Thanx to anyone that could help me…


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author photocrati


    @johanpirlouit – If you are already showing this “recent images gallery” on a page, have you considered using the “Link to page” option for that gallery so the Album simply opens that page and displays the gallery as you are already showing it?

    – Cais.

    Hi Cais,

    Thank you for your reply, I’ve already done that on many of my website’s subpages.

    It is a bit hard for me to explain what I want in english and I apologize for that… So, let’s take an example:

    5 galleries:
    – “design”, containing 8 picts
    – “nature”, containing 22 picts
    – “people”, containing 20 picts
    – “road”, containing 15 picts
    – “sport”, containing 12 picts

    2 albums:
    – “home”, containing “design” and “people” (total 28 picts)
    – “travel”, containing “nature”, “road” and “sport” (total 49 picts)

    My goal is to show in one single page (the front page) last 15 picts of the album “home” (last 15 of 28), not the 15 recent picts of the entire NGG (77 picts; currently this option doesn’t care of galleries nor albums)…

    I thought it might be possible with shortcodes but I may be wrong, I don’t know. For the moment I will try to use directly the wpdb object method (or any similar WP method) to match my goal…

    Anyway, if anybody (including you 😉 ) has other ideas, I’m still “opened”…


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display recent galleries picts from selected album’ is closed to new replies.