Last active
March 14, 2017 09:13
-
-
Save jester1979/7f3b7c6a161e7c2da0b16c017aaad99e to your computer and use it in GitHub Desktop.
Meta tags in the head
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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