Use of Toggle field
-
Hi,
I have an issue with the toggle field,
I can’t understand the logic with the example in github, and I cannot display the toggle button properly
<?php
$class = ‘container’;
if ( block_value( ‘full-width’ ) ) {
echo $class .= ‘ full-width’;
}
<div class=”<?php echo $class; ?>”>
</div>
?>Could you please try to show an example or give more information ?
Thanks in advance
Note : Your plugin is awesome ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use of Toggle field’ is closed to new replies.