inkthemes_childtheme_favicon

Add Favicon -----------------------------------------------------------------------------------.

Description

inkthemes_childtheme_favicon(); 

Usage

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

Defined (1)

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

/functions/inkthemes-functions.php  
  1. function inkthemes_childtheme_favicon() { 
  2. if (inkthemes_get_option('inkthemes_favicon') != '') { 
  3. echo '<link rel="shortcut icon" href="' . inkthemes_get_option('inkthemes_favicon') . '"/>' . "\n"; 
  4. } else { 
  5. ?> 
  6. <link rel="shortcut icon" href="<?php echo get_template_directory_uri() ?>/images/favicon.ico" /> 
  7. <?php