/** * Return early if Site Logo is not available. * * First function checks if Jetpack is installed, if not, it will check if standalone Site Logo plugin is present. */ function tinyframework_the_site_logo() { if (function_exists('jetpack_the_site_logo')) { return jetpack_the_site_logo(); } else { if (function_exists('the_site_logo')) { return the_site_logo(); } else { return; } } }
/** * Output an <img> tag of the site logo, at the size specified * in the theme's add_theme_support() declaration. * * @since 1.1.0 * @uses Flagship_Site_Logo::the_site_logo * @return void */ function flagship_the_logo() { if (!class_exists('Flagship_Site_Logo', false)) { if (function_exists('jetpack_the_site_logo')) { jetpack_the_site_logo(); return; } if (function_exists('the_site_logo')) { the_site_logo(); return; } return; } flagship_library()->site_logo->the_site_logo(); }
</head> <body <?php body_class(); ?> > <div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content"><?php _e('Skip to content', 'christiaanconover'); ?> </a> <header id="masthead" class="site-header" role="banner"> <div class="site-branding"> <div class="site-logo"><?php the_site_logo(); ?> </div> <h1 class="site-title"><a href="<?php echo esc_url(home_url('/')); ?> " rel="home"><?php bloginfo('name'); ?> </a></h1> <h2 class="site-description"><?php bloginfo('description'); ?> </h2> </div><!-- .site-branding -->