Hi, I'm new to WordPress and im having hard time dealing with CustomFields and a custom theme. All i need to know is the code for how to execute this idea:
If CustomField value = "RED" ... then do something - else
If CustomField value = "BLue" ... then do something
In other words i need a customfield called TitleColor and depending on its value i want the theme to apply a css rule, in this example to change the Heading color property.
If TitleColor = "RED" -- then {
<h1 style="color: red;"> }
else {
<h1 style="background-color: blue;"}
Thanks in advance :)