Forums

[resolved] display custom field on archive page (2 posts)

  1. hitekhomeless
    Member
    Posted 11 months ago #

    I would like to display some of my custom fields on the archive page instead of the whole post. What I would only like show is the title and my custom field named "city". Is it possible? I tried to access the field the same way I do inside of a post, with get_post_meta(), but it doesn't work for me.

    TIA,
    Jenn

  2. hitekhomeless
    Member
    Posted 11 months ago #

    never mind, I figured it out

    get_post_meta(); does work

Reply

You must log in to post.

About this Topic