Forums

change favicon (13 posts)

  1. QOCup
    Member
    Posted 6 months ago #

    I did everything on the page http://codex.wordpress.org/Creating_a_Favicon
    at the last stage when im supposed to overwrite something with
    <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />

    in my header.php it show like this:

    <?php
    $favicon = $cleansimplewhite_favicon;
    echo '<link rel="shortcut icon" href="';
    	if ('stylesheet_directory') {
    		echo "$favicon";
    	} else {
    		echo bloginfo('template_directory').'/favicon.ico';
    	}
    echo '" />';
    ?>

    no matter how I edit it, it won't work properly. either the favicon shows but my page is blank or nothing happens.

    Can someone edit and paste the exact code I need to replace?
    thanks :)

  2. govpatel
    Member
    Posted 6 months ago #

    leave the code as is all you need to is change the favicon.ico file in root to yours.

  3. QOCup
    Member
    Posted 6 months ago #

    I have overwritten by favicon.ico in my root folder and inside my theme and I have cleared the cache :/

  4. QOCup
    Member
    Posted 6 months ago #

    The funny thing is that the favicon shows when Im logged in the admin (wp-admin) but not on the root of the domain even though the favicon.ico is also uploaded there

  5. govpatel
    Member
    Posted 6 months ago #

    You will see the icon on address bar instead of W

  6. QOCup
    Member
    Posted 6 months ago #

    im not sure to understand what you are saying. Im seeing the favicon on the address bar when i'm logged in in the admin but not when i look at the site under http://www.domain.com. is there something else I should edit in order to get it to show?

  7. govpatel
    Member
    Posted 6 months ago #

    Post you url see if I can see your favicon

  8. QOCup
    Member
    Posted 6 months ago #

    well you don't know what it looks like, the old one is pink crown.
    http://www.menstrualcup.co/
    new one is a dark pink cup (looks like a funnel)

  9. govpatel
    Member
    Posted 6 months ago #

    What ever you change in root favicon.ico is what you should see I see pink icon

  10. QOCup
    Member
    Posted 6 months ago #

    they are both pink. do u see the crown or the funnel?

  11. govpatel
    Member
    Posted 6 months ago #

    looks like crown

  12. QOCup
    Member
    Posted 6 months ago #

    yes that's the old one. the one that is in the root folder is the other one that just won't show :(

  13. QOCup
    Member
    Posted 5 months ago #

    Never mind, It's fixed now

Reply

You must log in to post.

About this Topic

Tags