FotoAndy
Member
Posted 2 years ago #
Hiya,
Simply trying to add the title "Related Images" (with an <h4> for style) to posts that contain the Related Images feature.
I've tracked down that the associated php is in 'nggfunctions.php', stsrting around line 808. Can't quite figure it out from there, all noob attempts either place it under the post title or cause the code to break.
Sample post at http://www.foto-andy.com/2009/11/03/free-iphone-app-nikon-learn-explore .
Thanks!
FotoAndy
Member
Posted 2 years ago #
FotoAndy
Member
Posted 2 years ago #
C'mon, I could really use this fix to clean up the otherwise abstract nature of this strip of pictures...
Bumpin“ on a Sunday.
You need to edit shortcodes.php and add before line 135 your heading :
$content .= '<h4>Related Images</h4>';
$content .= nggShowRelatedImages();
FotoAndy
Member
Posted 2 years ago #
Thanks for the help Alex, please excuse the delayed reply.
This code does indeed insert a title above the box,
actually I was hoping to place it directly inside the white box, as it's cleaner on the design front.
Many thanks if you or another can help me out here.
FotoAndy
Member
Posted 2 years ago #
FotoAndy
Member
Posted 2 years ago #
One more bump in hope of a holiday fix...
FotoAndy
Member
Posted 2 years ago #
Disapointed.
Sad Panda. :(
Sorry didn't get the point what you mean...