</h1> <?php echo wpautop(marketify_theme_mod('footer', 'footer-contact-address')); ?> </div> <?php } ?> <?php $cols = 4; if (!$contact && !marketify_get_theme_menu('social')) { $cols = 12; } else { if (!$contact || !marketify_get_theme_menu('social')) { $cols = 8; } } ?> <div class="col-md-<?php echo $cols; ?> "> <h1 class="site-title"><a href="<?php echo home_url(); ?> "> <?php if (marketify_theme_mod('footer', 'footer-logo')) {
/** * Get a nav menu name * * @uses marketify_get_theme_menu To get the menu object * * @since Marketify 1.0 * * @param string $theme_location The slug of the theme location * @return string The name of the nav menu location */ function marketify_get_theme_menu_name($theme_location) { $menu_obj = marketify_get_theme_menu($theme_location); $default = _x('Menu', 'noun', 'marketify'); if (!$menu_obj) { return $default; } if (!isset($menu_obj->name)) { return $default; } return $menu_obj->name; }