Skip to content

Instantly share code, notes, and snippets.

@jester1979
Last active March 14, 2017 09:13
Show Gist options
  • Save jester1979/7f3b7c6a161e7c2da0b16c017aaad99e to your computer and use it in GitHub Desktop.
Save jester1979/7f3b7c6a161e7c2da0b16c017aaad99e to your computer and use it in GitHub Desktop.
Meta tags in the head
<?php
//Add this code below to your functions.php, replace 'name-of-tag' and 'value-of-tag'
add_action( 'wp_head', 'my_meta_tags' );
function my_meta_tags() {
?>
<meta name="name-of-tag" content="value-of-tag">
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment