Hi!
I can’t seem to figure out where to put the code below to verify my bing webmaster tools. Any help is appreciated!
You can add a <meta> tag containing the authentication code to the <head> section of your default webpage.
<meta name=”msvalidate.01″ content=”D92B56FAB2788F1C14513CB47406129F” />
An example:
<html>
<head>
<meta name=”msvalidate.01″ content=”D92B56FAB2788F1C14513CB47406129F” />
<title>Your SEO optimized title</title>
</head>
<body>
page contents
</body>
</html>
Hey algkent,
Try this in your functions.php file:
function bing_bong_bang_crash(){
?>
<meta name="msvalidate.01" content="D92B56FAB2788F1C14513CB47406129F" />
<?php
}
add_action('wp_head', 'bing_bong_bang_crash');
Best regards,
Rikard
Thank you! Do you mean this file? functions-enfold.php
Also, where within this file would I put that code?
I don’t want to mess anything up:).
Hi algkent,
No, functions-enfold.php is different from functions.php.
Just put it at the bottom of functions.php file :)
Best regards,
Nikko
Oh boy, I’m glad I asked:). Where would I find the functions.php file?
Hi algkent,
If you’re using ftp or cpanel, you should be able to find it in wp-content > themes > enfold (if you use a child theme, it’s enfold-child) > functions.php
If you’re in WordPress Dashboard, go to Appearance > Editor > select functions.php, however in some installations Appearance > Editor isn’t available.
Best regards,
Nikko