• Resolved David Lassiter

    (@david-lassiter)


    I’m trying to add a image that is shown on the tabs when viewing my website

    Meaning for WordPress pages it shows the the gray circle with the white W WordPress logo on the tabs in (IE, Firefox, and such)

    How do I add one to my own site. As I still have the default plan white sheet of paper for my site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I think you mean a favicon:

    https://tools.dynamicdrive.com/favicon/

    Thread Starter David Lassiter

    (@david-lassiter)

    Do I place the code they gave me in header.php or the style.css file page?

    You place the line of code that looks like this:

    <link rel="shortcut icon" type="image/x-icon" href="www.yoursite.com/favicon.ico">

    in your header and you upload the favicon.ico in the root folder.

    Thread Starter David Lassiter

    (@david-lassiter)

    OK good I just wanted to make sure because it said it could take a day or so to show up.

    Thread Starter David Lassiter

    (@david-lassiter)

    OK it’s been about a week and it still hasn’t been added.

    Here is my header.php file to see if I but the code in the wrong place
    the <link rel="shortcut icon" type="image/x-icon" href="www.chibigamers.com/favicon.ico"> code is right below the <head> tag

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<link rel="shortcut icon" type="image/x-icon" href="www.chibigamers.com/favicon.ico">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    		<title><?php
    	if (is_home () ) {
    		bloginfo('name');
    	} elseif (is_category() ) {
    		echo 'ChibiGamers - Updates Mondays and Thursdays - Archive For '; single_cat_title();
    	} elseif (is_single() || is_page() ) {
    		echo 'ChibiGamers - Updates Mondays and Thursdays - '; single_post_title();
    	} elseif (is_search() ) {
    		echo __(' search results: ','comicpress'); echo esc_html($s);
    	} else {
    		echo ' - '; wp_title('',true);
    	}
      ?></title>
    	<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
    	<meta name="ComicPress" content="<?php echo comicpress_themeinfo('version'); ?>" />
    <!--[if lt IE 7]>
       <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/ie6submenus.js"></script>
    <![endif]-->
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    <?php
    if (is_active_sidebar('above-header')) get_sidebar('above');
    ?>
    <div id="page-head"></div>
    <?php if (!comicpress_themeinfo('disable_page_restraints')) {
    	if (is_cp_theme_layout('standard,v')) { ?>
    <div id="page-wrap"><!-- Wraps outside the site width -->
    	<div id="page"><!-- Defines entire site width - Ends in Footer -->
    <?php } else { ?>
    <div id="page-wide-wrap"><!-- Wraps outside the site width -->
    	<div id="page-wide"><!-- Defines entire site width - Ends in Footer -->
    		<?php }
    } ?>
    
    <div id="header">
    	<?php do_action('comicpress-header'); ?>
    	<h1><a href="<?php echo home_url(); ?>"><?php bloginfo('name') ?></a></h1>
    	<div class="description"><?php bloginfo('description') ?></div>
    	<?php if (is_active_sidebar('header')) get_sidebar('header'); ?>
    	<div class="clear"></div>
    </div>
    
    <?php
    if (!comicpress_themeinfo('disable_default_menubar')) comicpress_menubar();
    if (is_active_sidebar('menubar')) get_sidebar('menubar');
    get_template_part('layout', 'head');
    ?>

    Its not working…. Can somebody help me??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add a logo image in the tab’ is closed to new replies.