Support » Plugins » [Plugin: NextGEN Gallery] A page with all the galleries?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sure! Create an album. Name it whatever you want and then save it. Then, go to the “Album” option under “Gallery” on your admin page. Select the album name from the drop down, and then drag and drop your galleries (middle column) in the order you desire into the album (left column).

    To display this album and all its galleries, create a new page with the tag [album id=1 template=extend].

    The author’s working example can be found here:
    http://nextgen.boelinger.com/album/

    One important configuration note: In the Admin module, go to Gallery > Options > Gallery tab, CHECK the “Deactivate gallery page link” option. I don’t understand the purpose of this option is, but when it was unchecked my album page was not functional.

    Hope that helps.

    — jm

    Not what I want: when you add another gallery, you also need to update the album. What I want is a way to automatically show all the galleries.

    I would also like to see this.
    If the author of NextGEN Gallery and Lazyest Galleries would get together this would be the greatest gallery plugin ever.

    Ok, I found a work around for this but it involves a little work.
    First, you need to create a new page template. Check here for more information on how to do so.

    In this page template, you need to add the following code:

    <?php
      $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
      if ($children) { ?>
      <ul>
      <?php echo $children; ?>
      </ul>
      <?php } ?>

    I suggest adding it directly below the “content” code.

    Now create a page(we will call it “All Galleries”) using your custom page template. Add whatever text you want to it. Directly after your text/content it will add a list of all pages that use itself as a parent.
    When creating galleries, make sure to select “All Galleries” as the page parent.

    This will create a page with a list of every sub-page it has. If you already have a ton of galleries using different pages as their parent, then you will need to change the PHP code I posted above.
    Use this page to find/create the exact code you need.

    I hope this helps everyone.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Gallery] A page with all the galleries?’ is closed to new replies.