Skip to content

Instantly share code, notes, and snippets.

@aibrean
Forked from emaildano/acf-radio-button-example.php
Last active August 29, 2015 14:06
Show Gist options
  • Save aibrean/9121de747022b65c1c1e to your computer and use it in GitHub Desktop.
Save aibrean/9121de747022b65c1c1e to your computer and use it in GitHub Desktop.
ACF radio button outputs
<?php $program = get_sub_field('program_selection'); ?>
<?php if( $program == 'intensity' ){ ?>
<?php } else if( $program == 'crossfit' ){ ?>
<?php } else if( $program == 'personal' ){ ?>
<?php } else if( $program == 'allprograms' ){ ?>
<?php } else if( $program == 'none' ){ ?>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment