nextgen-gallery: galleries in album linked to a page
-
I wanted to write a little text to each gallery, therefor I made a page for everyone. When clicking on an gallery of an album the corresponding page should be loaded. Therefor made a new mode (“compact-page”), which is based on album-compact, with just the links changed. Just in case anyone else wants something like that:
25c25 < <a class="Link" href="<?php echo $gallery->pagelink ?>"> --- > <a class="Link" href="<?php echo get_permalink( $gallery->pageid ) ?>"> 30c30 < <h4><a class="ngg-album-desc" title="<?php echo $gallery->title ?>" href="<?php echo $gallery->pagelink ?>" ><?php echo $gallery->title ?></a></h4> --- > <h4><a class="ngg-album-desc" title="<?php echo $gallery->title ?>" href="<?php echo get_permalink( $gallery->pageid ) ?>" ><?php echo $gallery->title ?></a></h4>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘nextgen-gallery: galleries in album linked to a page’ is closed to new replies.