If custom field is set to x then do y
Hi, I have setup a radio button custom field. In my postbit template I'd like to add some code that shows a line of text next to each users post depending on what option they have selected in the custom field.
Basically the logic is:
If the user who made this post has option 1 set then show [this piece of code]. If they have option 2 selected then show [this other piece of code].
Can anyone help me write that?
|