Exemple #1
0
<?php
/*
 * This file belongs to the YIT Framework.
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>
<!-- [favicon] begin -->
<link rel="shortcut icon" type="image/x-icon" href="<?php echo yit_get_favicon() ?>" />
<link rel="icon" type="image/x-icon" href="<?php echo yit_get_favicon() ?>" />
<!-- [favicon] end -->

<!-- Touch icons more info: http://mathiasbynens.be/notes/touch-icons -->
<?php yit_print_mobile_favicons() ;?>
 /**
  * Retrieve the URL of the favicon and print it.
  * 
  * @return void
  * @see yit_get_favicon
  * @since 1.0.0
  */
 function yit_favicon()
 {
     echo yit_get_favicon();
 }
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
?>
<!-- [favicon] begin -->
<link rel="shortcut icon" type="image/x-icon" href="<?php 
echo yit_get_favicon();
?>
" />
<link rel="icon" type="image/x-icon" href="<?php 
echo yit_get_favicon();
?>
" />
<!-- [favicon] end -->

<!-- Touch icons more info: http://mathiasbynens.be/notes/touch-icons -->
<!-- For iPad3 with retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php 
echo get_template_directory_uri();
?>
/apple-touch-icon-144x.png" />
<!-- For first- and second-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php 
echo get_template_directory_uri();
?>
/apple-touch-icon-114x.png" />