Support » Plugins and Hacks » NextGEN Custom Fields » [Plugin: NextGEN Custom Fields] How to add Field Title

  • Hi, I was wondering how to display the field name before the text of the field. i.e.:

    Name of gallery: Nice Gallery
    Place: Somewhere
    Date: Sometime

    This is actually what it display:
    Nice Gallery
    Somewhere
    Sometime

    Thanks for this great plug in!
    I hope ypu understand what I mean.(Sorry for my english)

Viewing 2 replies - 1 through 2 (of 2 total)
  • There might be another way but i did it by simply adding the text into my nextgen gallery theme.

    In gallery.php I just put the word (Place, Date etc) in front of the php code to add the custom fields.

    Eg, I used the following code to add the word ‘By’ in front of my artist name custom field.

    <div class="img-artist">By <?php echo $image->ngg_custom_fields["artist1"]; ?> </div>

    Thanks a lot ciaranm! It’s really helpful. I will try it. I have like 30 galleries and some of them need different custom fields, I’ll give try to your solution. Thanks for your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Custom Fields] How to add Field Title’ is closed to new replies.