WordPress.org

Ready to get started?Download WordPress

Forums

If Else statement for custom field keys (1 post)

  1. designlab
    Member
    Posted 6 years ago #

    I am trying to setup a custom field to add a header image to some of my posts.
    I have accomplished the above but need to get more specific as some of my posts do not have images.

    How would I set it up so that if a post has the "Image" key then it will display the image otherwise the post should do nothing?

    Let me know if you need more info. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic