Member
Member
Nick7635   2021-10-19, 20:21
#1
I'm using zpbootstrap, and have pages displaying sub-album thumbnails. The Titles display underneath the thumbnails, but I also wish to display the Descriptions. Can I do this? (Sorry if I've missed the answer in the User Guide).
Administrator
Administrator
acrylian   2021-10-20, 08:04
#2
You will need to modify the theme. Within the `next_album` loop on a theme's `album.php` you can use any function that also works for the album itself. Examples in the included basic theme and on the demo theme linked from the theming tutorial.
Administrator
Administrator
fretzl   2021-10-20, 08:45
#3
I see different possibilities and I'm not sure which is best. Try this:

In **inc_print_image_thumb.php** find the first occurrence of

`<div class="hidden caption">` (line 31) and remove the `hidden` class

so it becomes

`<div class="caption">`.

Then at the bottom of the page find:

```
">
<?php printBareImageTitle(); ?>

```
and change it into a conditional:

```
">
<?php if ( !isImagePhoto() ) { ?>
<?php printBareImageTitle(); ?>
<?php } ?>

```

This is not thoroughly tested and may have unwanted side effects.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.