• Resolved paulNivy

    (@paulnivy)


    Hi Guys,

    Can someone tell me how to post this favicon? It seems I can’t figure out where to load this icon.

    thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter paulNivy

    (@paulnivy)

    I can’t find this line <link rel=”shortcut icon”

    This should be in the header.php right? But I can’t find it.

    You will have to add that to the header.php file of the theme…although it’s recommended that any modifications to a theme, a child theme should be used so you can keep theme updates coming without affecting changes made to files. I have a premade child theme for Celestial Lite here:

    https://www.styledthemes.com/celestial-lite-setup/74-child-themes-for-customizing-your-theme

    …otherwise if you still decide to edit the header.php directly, you will add that line of code as the favicon documentation shows.

    Thread Starter paulNivy

    (@paulnivy)

    Ok I have uploaded the child theme so how do I install the Favicon?

    btw thanks for the child theme

    Thread Starter paulNivy

    (@paulnivy)

    btw if I activate the child theme do I need to redo my site all over again?

    Install the favicon just like the WordPress tutorial is, but because you are using (or about to use) the child theme, copy the header.php file from the parent theme (Celestial Lite) and paste it into the child theme, where you see the style.css file.

    If you activate the child theme, WordPress will see it as a new theme being activated, so widgets will more likely have to be reassigned again, and any theme options you did such as colours will also have to be redone.

    However, if you plan to make future modifications to the theme, you would then do it with the child theme instead so that any updates for the parent theme, you won’t lose your changes.

    With a backed up theme, should anything go wrong, you can always revert back by uploading the theme and overwrite the files of the newer one.

    If you decide to keep the parent theme and make modifications there instead of a child theme, make sure then whenever there is an update to the theme, that you backup your theme first, read the Changelog.txt in the theme, and then you can decide if you want to update or update only the files that were changed from the update.

    Thread Starter paulNivy

    (@paulnivy)

    ahh ok, I think I will stick to Celestial Lite instead of child.

    Can you teach me where to put this?

    <link rel=”shortcut icon” href=”<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico” />

    I am not sure where to put this in header.php

    You can put it in the header.php file right after this line:

    <meta name=”viewport” content=”width=device-width” />

    Thread Starter paulNivy

    (@paulnivy)

    Is there a way to upload the favicon icon file in the theme image file by not using the FTP?

    You will need to use ftp for this one.

    Just use the “All In One Favicon” Widget and it does it for you in about 2 seconds!

    Thread Starter paulNivy

    (@paulnivy)

    Oops, I forgot to mark this as resolved.

    Still, thanks for the additional response.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to install Favicon on this Celestial – Lite Theme?’ is closed to new replies.