ACF Switch based on select option

1
2
<?php $addNote = get_sub_field('add_note'); if ($addNote == "yes"):?>
· · · ·<span class="fa fa-comment-o" data-placement="top" data-toggle="popover" data-content="<?php the_sub_field('note'
                                   );?>"></span>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

1 Response

sdfsdfd

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.