I dont’t know what’s happening but obviously something mysterious.
I have done all as you said. The Telegram icon with a link once appeared at the front page and then dissapeared again.
On other pages everything is OK (still, I’m afraid).
If it was possible to attach screenshots here I would do that, but… but you can look at the pages yourself, the link’s been provided.
Here is the code of the snippet (as it is put in the plugin):
function addtoany_add_follow_services( $services ) {
// Add Telegram
$services['telegram'] = array(
'name' => 'Telegram',
'href' => 'https://t.me/${id}',
'icon' => 'telegram',
'color' => 'e50e25',
);
// Add VK
$services['vk'] = array(
'name' => 'VK',
'href' => 'https://vk.com/${id}',
'icon' => 'vk',
'color' => 'e50e25',
);
return $services;
}
add_filter( 'A2A_FOLLOW_services', 'addtoany_add_follow_services', 10, 1 );
I may assure you ‘widget’s Telegram field’ is not empty. That’s also obvious as long as it seems other pages except the front page are OK. And that is particularly strange because the same widget caters for all the pages (in the case of a right sidebar).
The cache has also been emptied. Moreover, I’ve checked the changes with some browsers and devices. As for mobile browsers some of them don’t show icons at all while others do, so I think if a browser doesn’t show icons (and links) in the widget at all it’s rather because of its settings (BTW the heading of the block (under the widget) is seen; you can check it either on your own).
So as for now I’ve left everything ‘as is’ and look forward to hearing from you any suggestions.