• Resolved boasey

    (@boasey)


    Hi,

    Great plugin and no issues so far but I’ve noticed it shows the WordPress favicon when enabled but my chosen favicon when disabled. How can I show my favicon on the enabled coming soon page?

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor jaschaio

    (@jaschaio)

    Hey boasey,
    thanks for your message!

    My best guess is that this is because of the theme you are using does not include the favicon with one of the default WordPress Filter Hooks.

    There is not much we can do about it from within the Plugin Code. Your best option is to add the favicon code yourself via copying and pasting the Following Code to your themes functions.php file:

    
    function blog_favicon() {
        ?>
        <link rel="shortcut icon" href="<?php echo bloginfo('stylesheet_directory') ?>/images/favicon.png" > 
        <?php
    }
    add_action('wp_head', 'blog_favicon');
    

    Of course you might have to adjust the part within href="" to the actual location of your favicon file. It is basically just a link to where your favicon file is located.

    Hope this helps,

    Plugin Contributor jaschaio

    (@jaschaio)

    Oh just saw that you included a link to the site you are talking about. This is the code adjusted for your particular case:

    
    function blog_favicon() {
        ?>
        <link rel="shortcut icon" href="https://lotsofcoins.co.uk/wp-content/uploads/2020/05/favicon.png">
        <?php
    }
    add_action('wp_head', 'blog_favicon');
    
    • This reply was modified 2 years, 2 months ago by jaschaio.
    Thread Starter boasey

    (@boasey)

    Thank you, I’ll give that a try.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Favicon’ is closed to new replies.