advantage_branding

The Advantage advantage branding function.

Description

advantage_branding(); 

Usage

  1. if ( !function_exists( 'advantage_branding' ) ) { 
  2. require_once '/inc/lib-content.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = advantage_branding(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/lib-content.php  
  1. function advantage_branding() { 
  2. ?> 
  3. <div id="branding"> 
  4. <div class="container-fluid"> 
  5. <?php 
  6. advantage_header_branding(); //Action Hooks 
  7. get_sidebar( 'header' ); 
  8. $header_image = get_header_image(); 
  9. if ( ! empty( $header_image ) ) { ?> 
  10. <div id="logo"> 
  11. <a href="<?php echo esc_url( home_url( '/' ) ); ?>"> 
  12. <?php advantage_logo_image( $header_image ) ?> 
  13. </a> 
  14. </div> 
  15. <?php } else {?> 
  16. <div class="site-title clearfix"> 
  17. <h3 id="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h3> 
  18. <h3 id="site-description"><?php bloginfo( 'description' ); ?></h3> 
  19. </div> 
  20. <?php } 
  21. get_sidebar( 'center' ); ?> 
  22. </div> 
  23. </div> 
  24. <?php