This topic contains 0 replies, has 1 voice. Last updated by Arthur Trossen 3 years, 3 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Oct 3rd, 2013 at 5:43 am #60126 | |
I retrieve the content of a custom field like [s2Get user_field="anrede" /]. Now I receive an “H” which shows to me the user is a man, not a woman. Now I like to address him as such like “Dear Mr.” and not like a female “Dear Mrs.” Thus I need to include that s2Get result into a conditional tag somehow. I tried everything already. Now I wonder if it is possible at all to combine s2if and s2get functions with each other. Would that be possible to be achieved with s2member somehow? Some function or shortcode like “if [s2Get user_field="anrede" /] = “H” write Mr. else write Mrs?” |