[Plugin: Types – Custom Fields and Custom Post Types Management] Checkbox HTML Output
-
I am trying to output different html based on if a checkbox is selected or not. Basically, this is so a different class is assigned to the div tag. Right now I have:
<?php echo(types_render_field("inset", array("checked_html"=>base64_encode('<div class="infoBlock">'),"unchecked_html"=>base64_encode('<div class="infoBlockgreen">')))); ?>
but this is outputting nothing at all. What am I doing wrong?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] Checkbox HTML Output’ is closed to new replies.