WordPress.org

Ready to get started?Download WordPress

Forums

Custom fields (2 posts)

  1. spleteh
    Member
    Posted 3 years ago #

    Hy guys

    i have some problem with custom fields in post...

    how can i create something like this in my theme?
    custom field 1
    custom field 2
    custom field 3
    custom field 4
    custom field 5

    content ()

    custom field 6
    custom field 7

    or in other words, how can i display just one custom field, because now i using the_meta(), and this functions show all custom fields -.-

  2. davouch
    Member
    Posted 3 years ago #

    Hi spleteh,
    you could get what you want with get_post_meta or get_post_custom_values
    .

Topic Closed

This topic has been closed to new replies.

About this Topic