WordPress.org

Ready to get started?Download WordPress

Forums

Simple Fields
How to get field name value (2 posts)

  1. Ninjini
    Member
    Posted 1 year ago #

    I've installed this, added some posts and am successfully displaying field values in posts. However I'd like to know how to also grab the field labels as well as the values e.g. instead of just getting 'United Kingdom' I want to get Country: United Kingdom (so the field label of Country). How do I get that?

    Also I put the extra code to get the values in the file single.php. Is that the best place to put it?? This wasn't mentioned in the documentation?

    http://wordpress.org/extend/plugins/simple-fields/

  2. iammary
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.