Digital sign locations
-
$exclude_allscreens = get_term_by( 'slug', 'all-screens', 'screen_locations');
$screen_locations = get_terms('screen_locations', array('exclude' => array(slug => $exclude_allscreens->term_id), 'hide_empty' => FALSE) );
foreach ( $screen_locations as $location ) {
echo '
- slug == $location->slug)? ' class="current-menu-item "':"") . '>' . $location->name . ' '; } echo '