Forums

[Plugin: NextGEN Gallery] Adding "Related Images" title to Related Images (9 posts)

  1. 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!

  2. FotoAndy
    Member
    Posted 2 years ago #

    A little help please...

  3. 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.

  4. Alex Rabe
    Member
    Posted 2 years ago #

    You need to edit shortcodes.php and add before line 135 your heading :

    $content .= '<h4>Related Images</h4>';
    $content .= nggShowRelatedImages();
  5. 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,

      but
    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.

  6. FotoAndy
    Member
    Posted 2 years ago #

    Bump for help please...

  7. FotoAndy
    Member
    Posted 2 years ago #

    One more bump in hope of a holiday fix...

  8. FotoAndy
    Member
    Posted 2 years ago #

    Disapointed.

    Sad Panda. :(

  9. Alex Rabe
    Member
    Posted 2 years ago #

    Sorry didn't get the point what you mean...

Topic Closed

This topic has been closed to new replies.

About this Topic