How to check the value particular custom field
I need a code that checks the value of a particular custom field and displays a text message accordingly.
Can u suggest a code where I can check the value of certain custom field.
Like if (cp_type_of_user = buyer) then echo "I want to Buy" elseif (cp_type_of_user = seller) echo "I want to sell" else echo "visitor"