WordPress.org

Forums

Custom fields - Please HELP! (1 post)

  1. mrsheedy
    Member
    Posted 9 years ago #

    Hello

    OK I've tried posting this about 3 times now and nobody seems to know how to do this. I'm not a programmer but it looks like a very straight foward if statement.

    I would like to have the style of my posts vary depending on the posts custom value entered in the custom field. Like this:

    If the custom value is "front" output this HTML...
    or else...
    If the custom value is "back" output this HTML...

    I have tried using if statements and other stuff for weeks but just can not get it to work.

    Does anyone have any suggestions, this is driving me insane!

Topic Closed

This topic has been closed to new replies.

About this Topic