wordpress question

Profile picture of the author anton343 by anton343 Posted: 08/31/2013
Hi guys,

I have just received the following request from someone I designed a wp site for. Can anyone tell me how to do this in wp

can you add this <meta> tag containing the authentication code to the <head> section of your default webpage.

<meta name="msvalidate.01" content="4B074622D1FE3827963A18029038691E" />

It is some sort of tracking code for bing

Confirm successful upload by visiting BingSiteAuth.xml in your browser

Cheers

Anton
#question #wordpress

  • Profile picture of the author Karen Blundell
    Karen Blundell
    Hi Anton,

    It depends on the theme, but usually if you go into Presentation/Editor in the WP dashboard, you can edit your header.php and add that neta tag snippet in there.

    click "update file" after you add it and you're done. Then visit the appropriate bing link to verify that it has been done.
  • Profile picture of the author anton343
    anton343
    Hi Karen,

    I thought this was the way to go but it looks like the theme I am using does not have the editor option.

    Would it be ok to edit the php header file through cpanel

    Anton




    Originally Posted by Karen Blundell View Post

    Hi Anton,

    It depends on the theme, but usually if you go into Presentation/Editor in the WP dashboard, you can edit your header.php and add that neta tag snippet in there.

    click "update file" after you add it and you're done. Then visit the appropriate bing link to verify that it has been done.
  • Profile picture of the author David V
    David V
    Originally Posted by anton343 View Post

    Hi Karen,

    I thought this was the way to go but it looks like the theme I am using does not have the editor option.

    Would it be ok to edit the php header file through cpanel

    Anton
    The editor Karen is referring to is the WordPress editor.(doesn't matter the theme)

    Look in the left sidebar, you'll see the main menu item "Appearance".
    Hover that (or click it) and you'll see a sub-menu called "Editor",
    Click it.
    Now, in the top right dropdown, make sure you're theme is selected.

    Now look for the file called "header.php".
    It should be listed in the column on the right.
    Click it.

    Now you can place the meta tag in there.
    Make sure to place it in the same area as the other meta tags.
  • Profile picture of the author anton343
    anton343
    Hi David,

    I believed this was the way to do it but as you can see from the picture there is no editor option




    Originally Posted by David V View Post

    The editor Karen is referring to is the WordPress editor.(doesn't matter the theme)

    Look in the left sidebar, you'll see the main menu item "Appearance".
    Hover that (or click it) and you'll see a sub-menu called "Editor",
    Click it.
    Now, in the top right dropdown, make sure you're theme is selected.

    Now look for the file called "header.php".
    It should be listed in the column on the right.
    Click it.

    Now you can place the meta tag in there.
    Make sure to place it in the same area as the other meta tags.
  • Profile picture of the author David V
    David V
    Likely what's happening is your theme is disabling the editor.
    You'd have to find that and comment it out. Probably find it in the functions.php or just ask the theme developer.

Related discussions