add_filter('genesis_favicon_url', 'custom_favicon_url'); function custom_favicon_url() { $favicon = site_url("favicon.ico"); return $favicon; }
Function Info: add_filter()
, site_url()
, genesis_load_favicon()
Function Info: genesis_favicon_url
Jon Breitenbucher says
I’m looking for a way to allow users to upload their custom icon when using Genesis and associated child themes in a multisite setting. Would you want to use home_url(“/files/favicon.ico”) if in a multisite setting? I guess it would depend on whether your upload settings organized by month and year. I’m not sure you can put a function like this in a child theme and guarantee that all the sites would be using the same upload structure.
Christopher says
I’m actually pushing out an update on Monday to my Genesis Favicon Uploader that supports MS. The next realease will also be in the repo. I’ll surely email you when it comes available. Current plug-in can be found under Plug-ins tab in the main navigation.
(I’m currently out so can’t provide a snippet for you but thought I’d just let you know something is in the works. )