Items in gallery to show title and date overlay on thumbnail


#1

Please can you help me with the code to show date and title on all media in the gallery. Thanks for your kind help.


#2

Hello @mahwash,

Please, refer this similar functionality which will add author name on media in the media gallery to get an idea here - https://rtmedia.io/docs/developers/customize-media-gallery-template/

You can customize this code according to your requirement.

Thanks,


#3

Sorry i can’t find this “templatemedia-gallery-item.php”

Where is this template located please?


#4

Hello @mahwash,

You can find this template in this location - https://github.com/rtMediaWP/rtMedia/blob/develop/templates/media/media-gallery-item.php

Thanks,


#5