WordPress.org

Support

Support » Themes and Templates » Can custom fields determine post style?

Can custom fields determine post style?

  • Hello

    Can you have the style of a post 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!

  • The topic ‘Can custom fields determine post style?’ is closed to new replies.
Skip to toolbar