Skip to content

Instantly share code, notes, and snippets.

@chipbennett
Created October 19, 2011 17:41
Show Gist options
  • Save chipbennett/1299066 to your computer and use it in GitHub Desktop.
Save chipbennett/1299066 to your computer and use it in GitHub Desktop.
Stop Skype from hijacking phone numbers
<?php
/**
* Stop Skype from hijacking phone numbers
*
* Adds a META tag to the HTML document head, that
* prevents Skype from hijacking/over-writing phone
* numbers displayed in the Theme.
*
* @link http://www.wpbeginner.com/wp-tutorials/how-to-fix-skype-overwriting-phone-numbers-in-wordpress-themes/ H/T WPBeginner
*/
function mysite_skype_meta() {
?>
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
<?php
}
add_action( 'wp_head', 'mysite_skype_meta' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment