WordPress.org

Ready to get started?Download WordPress

Forums

Simple Fields
How to show the new fields? (5 posts)

  1. bluebird2
    Member
    Posted 3 years ago #

    How can one show the new fields? They are not added to the custom fields.

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

  2. Pär Thernström
    Member
    Plugin Author

    Posted 3 years ago #

    They are actually added, but as "hidden" (ref: http://codex.wordpress.org/Function_Reference/add_post_meta#Making_a_.22Hidden.22_Custom_Field).

    After you have saved a post you can click the "Show custom field keys"-link that should be available in the right column of your edit post page. You can then use for example http://codex.wordpress.org/Function_Reference/get_post_meta to get the value for a specifik field.

    For more info, check out the tutorials on my homepage:
    http://eskapism.se/code-playground/simple-fields/

  3. Jay Collier
    Member
    Posted 3 years ago #

  4. kirsten_schaefer
    Member
    Posted 3 years ago #

    I was so happy I finally stumbled upon your PlugIn - it looked perfect.
    Just what I need.

    So – I spent the last 4 hours in trial and error experiments because I can't figure out how to call the custom fields in my post template.
    I tried every tag from the codex, nothing shows up. I read every line on your website. No answer.

    Will you, please, tell me: How do I call the custom-fields?
    (Maybe its a weird idea, but I would like to display on the frontend what I entered in the backend.)

  5. Pär Thernström
    Member
    Plugin Author

    Posted 3 years ago #

    If I'm not mistaken, I think Kirsten solved it and posted a comment about it here:

    http://eskapism.se/code-playground/simple-fields/tutorial-part-2/comment-page-1/#comment-75685

    Hope this helps some others!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic