Support

Account

Home Forums Gutenberg Using a radio button to add a class to a list item Reply To: Using a radio button to add a class to a list item

  • When you’re declaring variables use get_field() – not the_field().

    <?php
    $bullet_color = the_field('bullet_color');

    should be:

    <?php
    $bullet_color = get_field('bullet_color');

    Change variables names so they will not use - sign.

    <?php
    $ion-asterisk // wrong way
    $ion_asterisk // good way