$site_title = get_bloginfo('name'); $site_url = home_url('/'); $site_description = get_bloginfo('description'); ?> <?php if (get_option('colabs_disable_mobile') == 'false') { ?> <meta name="viewport" content="width=device-width, initial-scale=1"/> <?php } ?> <?php if (is_home()) { colabs_background_slideshow(); } else { if (!is_home() && get_option('colabs_background_slider') == 'false') { colabs_background_slideshow(); } } ?> </head><body <?php body_class(); ?> > <header class="header-section container"> <div class="row"> <div class="branding column col4"> <h1 class="logo"> <a href="<?php echo $site_url; ?> "> <?php if (get_option('colabs_logotitle') == 'logo') { echo '<img src="' . get_option('colabs_logo') . '" alt="' . $site_title . '" />'; } else { echo $site_title; }
function colabs_add_slideshow_to_head() { if (colabs_check_plugin_active('lensa-marketplace/lensa-marketplace.php')) { if ('big_slider' == get_option('colabs_frontpage_style') || 'scroller' == get_option('colabs_frontpage_style')) { if (is_home()) { colabs_background_slideshow(); } else { if (!is_home() && get_option('colabs_background_slider') != 'true') { colabs_background_slideshow(); } } } } else { if (is_home()) { colabs_background_slideshow(); } else { if (!is_home() && get_option('colabs_background_slider') != 'true') { colabs_background_slideshow(); } } } }