Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1064361

    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>

    #1064518

    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

    #1064629

    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:).

    #1064661

    Hi algkent,

    No, functions-enfold.php is different from functions.php.
    Just put it at the bottom of functions.php file :)

    Best regards,
    Nikko

    #1064662

    Oh boy, I’m glad I asked:). Where would I find the functions.php file?

    #1064830

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.