Viewing 1 replies (of 1 total)
  • Hey there BoxerDogsFallon,

    Hope you’re well! 🙂

    First, Use child themes for any customisation you will make. Read more about it here: http://codex.ww.wp.xz.cn/Child_Themes or use a plugin like Code Snippet

    Add this code to your child theme’s functions.php or using the plugin mentioned above:

    function add_custom_favicon_wp() {
    	$link = "REPLACE ME WITH REAL URL";
    	$html = sprintf( '<link rel="icon" type="%s">', esc_url( $link ) );
    
    	echo $html;
    }
    
    add_action( 'wp_head', 'add_custom_favicon_wp');

    Don’t forget to place the $link with the url of your favicon. Don’t omit the quotation it is required. 🙂

    Hope it helps! 🙂

    Take care,
    Calvin

Viewing 1 replies (of 1 total)

The topic ‘Fav Icon’ is closed to new replies.