Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » [Plugin: NextGEN Gallery] List of galleries in same album on Gallery page

  • I’m trying to find a solution to this but haven’t found one yet. Hoping someone smarter than me has come up with one.

    I want to display a list of links to other galleries within an album, to display on a gallery page. So if you’re on gallery2 page, you’d see this:

    gallery 1
    gallery 3
    gallery 4

    I don’t want any galleries from the OTHER albums I have to show, only galleries from the current album to be listed. Not sure if it’s possible, but I’d like to strip out the link for the current gallery (so it only links the other galleries within the album, but not itself). But this is not absolutely necessary.

    Thoughts?

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Well, I guess I should have tried harder. I have been trying to work in Nextgen for this functionality, but I forgot I can just list all the pages using this bit of code:

    <?php
    if($post->post_parent)
    $children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0&depth=4″);
    else
    $children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=1&depth=4″);
    if ($children) { ?>

      <?php echo $children; ?>

    <?php }
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] List of galleries in same album on Gallery page’ is closed to new replies.