Change Genesis Theme Favicon In Functions.php

The default favicon of Genesis theme is eye-catching, sure, but if you’re sporting a customized theme, you might as well make a custom favicon for yourself as well, yeah? Lately I’ve been drawn to using the Genesis framework more and more, and changing the favicon is one of the first things I do when I get down to using it.

You could download any of the favicon uploader plugins in the WordPress repository and be done with it, but who wants the extra plugin when you can insert several lines of code in the functions.php file of your Genesis child theme so easily? Here’s the code I use:

// Loads favicon from specified URL
add_filter( 'genesis_pre_load_favicon', 'custom_favicon' );
function custom_favicon( $favicon) {
$favicon = 'YOUR FAVICON IMAGE PATH HERE';
return $favicon;
}

There ya go. Quick and painless.

SHARE THIS article
Facebook
Pinterest
Twitter
LinkedIn
Print
Email

GET UPDATES

Sign up to my newsletter so you get first peek into my detailed reviews, latest updates and occasional fun emails.

Leave a Reply

Your email address will not be published. Required fields are marked *

ABOUT THE girl

I wear many hats. But most of all, I am...
mommy to Svet partner to Paulie furmom to Niall an introvert a bookworm a certified tita

stay CONNECTED
SUBSCRIBE TO newsletter

Sign up to my newsletter so you get first peek into my detailed reviews, latest updates and occasional fun emails.

recent POSTS
Okina Oh-Naka Malolos

Okina Oh-Naka Malolos

Unlimited samgyeopsal and chicken wings in Malolos with 15 Revolution meats and six sides to choose from! Prices start at Php199.

Red Wings Malolos

Red Wings Malolos

Unlimited Chicken Wings in Malolos There was a time when Samgyeopsal was king of unlimited food here in Bulacan. However, there’s a new craving for

Makeup House Plaridel

Makeup House Plaridel

Makeup Store in Plaridel There aren’t a lot of local brick and mortar stores in Bulacan that sell beauty and wellness products exclusively. Sure, there’s

STAY IN THE KNOW

Sign up to my newsletter so you get first peek into my detailed reviews, latest updates and occasional fun emails.