-
AuthorPosts
-
July 1, 2015 at 9:41 pm #318892
I need to add a meta tag with verification code for Pinterest the header of my home page. How do I go about adding this if I am using the Renew stack of X Theme in a WordPress site? My site is http://www.theappliquecircle.com, and I am running the latest version of both WordPress and X Theme.
Thanks,
Luke HunterJuly 2, 2015 at 4:04 am #319122Hi Luke,
To add your verification code, please add the code below in your child theme’s functions.php file
function my_custom_head_output() { ?> ...code here... <?php } add_action( 'wp_head', 'my_custom_head_output', 99999 );
Replace …code here… with your verification code.
Hope that helps.
July 2, 2015 at 5:52 am #319177Roger. That did it!
July 2, 2015 at 12:55 pm #319424Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
March 12, 2016 at 4:44 pm #835250This reply has been marked as private.March 12, 2016 at 8:43 pm #835419Hi There,
Your code is incomplete, please update your code to:
/*pinterest verify code*/ function my_custom_head_output() { ?> <meta name="p:domain_verify" content="f3dd090f48dd0181a920d22cccf221c1"/> <?php } add_action( 'wp_head', 'my_custom_head_output', 99999 );
You can follow this video for more info.
Hope it helps, Cheers!
March 13, 2016 at 12:42 pm #835913OMG, I must have been half asleep still when I edited that code 🙁
ThaNHS!
March 13, 2016 at 12:56 pm #835919You’re welcome 🙂
-
AuthorPosts