Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @jerrywangtc

    Thanks for the support topic, As we checked your site seems to be using AMP with Reader Mode and using Legacy Theme.

    Also, Your site has a blank image in its root named favicon.ico it’s get loaded on AMP pages, URL for same https://jerrywangtc.blog/favicon.ico

    Replacing this image with your favicon images with the same name favicon.ico should make it work as expected on AMP pages.

    if you wish to add a different favicon on AMP pages. you can use the code snippet below, add it in your active theme’s functions.php or in a custom plugin.

    /**
     * Add Favicon in the AMP legacy theme.
     */
    function xyz_amp_setup_favicon() {
    	?>
    	<link rel="shortcut icon" href="https://www.your.com/image/path/imagesname.png" />
    	<?php
    }
    
    add_action( 'amp_post_template_head', 'xyz_amp_setup_favicon' );

    Replace https://www.your.com/image/path/imagesname.png with your image URL.

    Plugin Support Milind More

    (@milindmore22)

    @jerrywangtc As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘my favicon do not show in google mobile search’ is closed to new replies.