armaclans
Member
I have a radial custom field that has internal values of "true" and "false"
I cannot find any php tutorials for $TMPL tags, and I am trying to create a php code that says:
Shouldn't the $TMPL['$acf_recruiting'] be a string? Sorry guys, I am really trying here.
I cannot find any php tutorials for $TMPL tags, and I am trying to create a php code that says:
PHP:
if ($TMPL['$acf_recruiting'] == "true" )
{
$TMPL['recruitingyes'] = '<div>New Code that says yes</div>';
} else {
$TMPL['recruitingno'] = '<div>New Code that says No</div>';
}