Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $mb->the_field('fkp-whichzone'); ?>
- <select name="<?php $mb->the_name(); ?>">
- <?php
- $args = array('orderby=name&hide_empty=false');
- $terms = get_terms('districts', $args);
- foreach ($terms as $term) :
- ?>
- <option value="<?php echo $term->slug; ?>"<?php $mb->the_select_state($term->slug); ?>><?php echo $term->name; ?></option>
- <?php endforeach; ?>
- </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement