Calling All WordPress Masters – if statements
-
Hello
I’ve tried posting a few times about this now as well as bashing my head against a wall and I’m still getting absolutely nowhere.
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 would ask if this can even be done but given the rest of the things that you can do with wordpress I’m sure it can. I’m not a programmer but it really doesn’t seem all that complicated.
Does anyone have any suggestions. Even just some pointers on using an if statement properly and retrieving a custom field’s value would give me something to work with.
Thank you.
- The topic ‘Calling All WordPress Masters – if statements’ is closed to new replies.