I didn’t know this was an actual problem until I read the advice on WPBeginner.com. Apparently, some WordPress themes can break when Skype changes a phone number into a number you can dial with Skype. The fix is a simple one liner that you add to the HEAD section of the theme. Personally, I don’t use Skype to call out and change my options to prevent the over riding phone numbers in the first place.
Prevent Skype Overwriting Phone Numbers In WordPress Themes
Category: Themes
4
4 responses to “Prevent Skype Overwriting Phone Numbers In WordPress Themes”
-
-
Chip,
I actually thought about creating a simple plugin and submit it to the repository… But most theme devs would like to have the snippet rather than activating a snippet.
But I will submit this as a plugin to the repository now…
-
Update: Here is the plugin:
http://wordpress.org/extend/plugins/prevent-skype-overwriting/
-
Forget the plugin. Here is a simple snippet you can add to your CSS file.
span.skype_pnh_container {
display:none !important;
}
span.skype_pnh_print_container {
display:inline !important;
}That’s it. No hacks, tricks, plugins, addons, or anything else.
I would say that this is a perfect example of an opportunity to follow Otto’s example of putting code in a site-specific Plugin.
I created a Gist for the very simple Plugin drop-in code: