Forums
Home / Fixing WordPress / [Plugin: NextGEN Gallery] Album & Gallery title display
(@det100)
16 years, 3 months ago
Can the title of Album or Gallery be displayed?
(@infected)
15 years, 9 months ago
Many many thanks! This works perfectly!
(@sofimi)
15 years, 3 months ago
I tried to use <?php echo $album->name?> in a custom album template but it says “Album overview” instead of the name of the album. When I add
<?php echo $album->name?>
$album = nggdb::find_album( get_query_var('album') );
beforehand, the text goes blank. var_dump($album) gives bool(false).
var_dump($album)
bool(false)
Is there any way to add the album title in the template without modifying the core code as advised by _ap_?
Edit: Using WP 2.8.2 & NextGen Gallery 1.3.5.
(@kitefr)
same problem like me sofimi :/
i’ll wait a solution for this ^^
(@leeluv)
same problem for me *push*
I want to display the album title of the gallery in the gallery overview. the first page it is displayed. after changing page I didn’t get $album->name anymore.