Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // $federations = EM_Tags::get( array( 'orderby' => 'name', 'hide_empty' => 0, 'exclude' => array( 125, 109, 110 ) ) );
- if ( count( $federations ) > 0 ) : ?>
- <div class="event-categories federations">
- <label>Federation</label>
- <?php foreach( $federations as $tag ) { ?>
- <div>
- <label for="event_tags[<?php echo $tag->slug; ?>]" class="screen-reader-text"><?php echo $tag->name; ?></label>
- <input name="event_tags[]" id="event_tags[<?php echo $tag->slug; ?>]" type="checkbox" value="<?php echo $tag->term_id; ?>" /> <?php echo $tag->name; ?>
- </div>
- <?php } ?>
- </div>
- <?php endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement