Site icon not showing up

I just updated to the new site icon setting in Customizer, but it isn’t showing up. Here’s my site URL:

The relevant link tags seem to be showing up in the page source:

<link rel="icon" href="https://cdn.drbrighten.com/drbrighten/20180916160824/cropped-Dr.B-32x32.png" sizes="32x32" />
<link rel="icon" href="https://cdn.drbrighten.com/drbrighten/20180916160824/cropped-Dr.B-192x192.png" sizes="192x192" />

For some reason these aren’t showing up in Chrome for me on the main site pages, though it does work in wp-admin. It does seem to work in Firefox as well.

Hello There,

Thanks for writing in! Since we release the latest version of the theme, we have migrated the icons in the Customizer > Site Identity. This relevant link tag could be coming from a 3rd party plugin. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

If that does not help, please provide us access so that we can investigate this further.

Regards.

Yes I have set the site icon via Customizer. I’ll add credentials to my staging site.

Hi again,

Thank you for providing the credentials. I checked your setup and your site’s markup looks broken. Please check for the following first:

  1. Ensure everything is up to date according to our version compatibility list at https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195. Please follow the best practices when updating your theme and plugins. See https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62 for more details.

  2. If you’re using a caching plugin, clear all caches including browser cache then deactivate your caching plugin and other optimization plugins.

  3. If you’re using a CDN, please clear the CDN’s cache and disable optimization services.

  4. Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

  5. Remove custom CSS, JavaScript and deactivate your child theme and switch to parent theme (take a complete backup first).

  6. Re-install your theme, core files could have been corrupted while updating the theme.

Let us know how this goes!

What specifically gives you the impression that it’s broken, can you be specific? The theme is up to date, a couple plugins have updated versions but I do not upgrade until I can test everything.

@Nabeel I was able to identify the issue. It’s being caused by the Themeco Facebook Comments plugin. This plugin inserts a div tag into the head section of the page, which results in invalid markup.

Can you guys fix this? I have to use Facebook Comments on my site.

I was able to resolve this by editing the plugin directly. I changed tco-facebook-comments/functions/output.php line 106 from:

add_action( 'wp_head', 'tco_facebook_sdk' );

to:

add_action( 'x_before_site_begin', 'tco_facebook_sdk' );

The Facebook developer documentation suggests putting the SDK code immediately after the opening body tag, this places it just one layer deeper inside div#x-root.

It would be great if you can update this on your end so I don’t need to worry about future updates.

Hey @bhamrick,

I’m using the latest Facebook Comments extension in my test site but it does not cause the Site Icon to disappear. There might be something else in combination with the FB Comments extension that caused the issue.

I’ll post your feedback to our issue tracker so our development team would be made aware of the case.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.