I have looked at the "Using Custom field " section of the codex and am able to display a custom value from the custom field on a post but would like to have my post style change based on one of 2 values.
If it is value x it looks like this
If it is value z it looks like that
I am assuming that I use an "if" statement but it doesn't seem to work. Can you have an if statement inside the loop?
Can anyone help me on this one?