childtheme_favicon

The ColorWay Theme childtheme favicon function.

Description

childtheme_favicon(); 

Usage

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

Defined (1)

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

/functions/inkthemes-functions.php  
  1. function childtheme_favicon() { 
  2. if (get_option('colorway_favicon') != '') { 
  3. echo '<link rel="shortcut icon" href="'. get_option('colorway_favicon') .'"/>'."\n"; 
  4. else { ?> 
  5. <link rel="shortcut icon" href="<?php echo bloginfo('stylesheet_directory') ?>/images/favicon.ico" /> 
  6. <?php }