Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2641752
favicon
Closed

Comments

  • almondsurf started the conversation

    I have uploaded my favicon to Customize > General > General Settings > Upload Favicon. The favicon displays everywhere on the site, other than on a print recipe page.

    I am using the plugin "WP Recipe Maker." When I go to print a recipe, the theme favicon disappears and is overridden by the default Wordpress favicon. I have contacted the devs of 'WP Recipe Maker,' they are saying it is an issue with the theme I'm using. 

    Any help?

  •  2,699
    PenciDesign replied

    Hi,

    To do that, please add more this code:

    /**
     * Filter favicon to make sure wp_site_icon() works fine also
     *
     */
    if ( ! function_exists( 'penci_filter_site_icon_url' ) && get_theme_mod( 'penci_favicon' ) ) {
        function penci_filter_site_icon_url(){
            $favicon_url = get_theme_mod( 'penci_favicon' );
            return $favicon_url;
        }
        add_filter( 'get_site_icon_url', 'penci_filter_site_icon_url' );
    }
    

    At the end of functions.php file - like on this image.

    In the next update version, we will add more this code also, so no worries the update will remove it.


    Best Regards,

    PenciDesign

  • almondsurf replied

    Worked perfectly! Thank you for the quick reply.

    I did not expect your team to reply on Christmas day. The PenciDesign theme support is the best I've ever worked with. Thank you, guys!