Why is it necessary to remove Hostgator icon from your website or if you are using genesis theme, the G icon from the pages of your website?
It can be viewed as a branding or rather making the person who visits your website to think that you really take care of details and is serious about your website.
I actually got stuck when I had created a new plugin for creating an Optin page and found that the page created from “WP Sales Copy” template always displays a Hostgator icon.
It can be a simple issue for an expert in this area, but for me, it took some time to figure out.
The first thing I thought of, was to share the knowledge with someone else once I figure out a solution.
So here is the route I took for solving this
I tried checking this online and found many blogs describing how to create a new icon and I tried most of them using code snippets in functions.php.
I’m not a good coder, so I tried multiple code snippets in the child theme, and also in the plugin’s functions.php. Also tried some in templates.php. Nothing helped.
Finally, since it was a Hostgator icon, I thought(I should have before) it would be something from cPanel and began searching in those terms. I finally found out that it can be removed from cPanel.
Here is how to get rid of your default Hostgator icon from a page not calling the current theme’s icon.
For my case, the functions written for wp sales copy plugin did not seem to call genesis defaults.
Why I felt like that was because I had already created a site icon using “Smart Passive Income” child theme and I was expecting that to be displayed on all pages.
In this case that was not happening.
Again, here is how it can be removed.
Goto Hostgator cPanel, Files-> Filesmanager and then go to public_html and remove favicon.ico. If you want, you can add your required icon also in the same name.
Once done, have a thorough purge of cache.
I saw that Genesis Smart Passive Income child theme(probably for others also) has a 4 level aggressive purge.
I did that and then cleared browsing history and ‘BOOM’, the icon was gone.
Please let me know if you have some other suggestions to add here. I know this was a simple thing, but I blogged it for my own and for newbies future reference.