• Resolved Karenxxx

    (@karenxxx)


    I am trying to verify my account for pinterest they are saying:-
    Add this meta tag to the <head> of your index.html file (or equivalent)

    how do I do this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Go to your wordpress ac dashboard.

    There go to Apperance->Editor

    There at right side you will find header.php file. Click on that, code open there in a text area, now find for </title>. After you get that tag, just below that paste that pinterest code … you are done 🙂

    Thread Starter Karenxxx

    (@karenxxx)

    Hi Vishai.

    I wasnt sure where to add the code and the first time I did my site wasnt working at all. I will paste below where Ive added it. My site seems to be normal but Pinterest still says they cant find the meta tag (I had to go to the parent theme Twenty Eleven)
    <title><?php
    /*
    * Print the <title> tag based on what is being viewed.
    */
    global $page, $paged;

    wp_title( ‘|’, true, ‘right’ );

    // Add the blog name.
    bloginfo( ‘name’ );

    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( ‘description’, ‘display’ );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo ” | $site_description”;

    // Add a page number if necessary:
    if ( $paged >= 2 || $page >= 2 )
    echo ‘ | ‘ . sprintf( __( ‘Page %s’, ‘twentyeleven’ ), max( $paged, $page ) );

    ?></title>
    <meta [moderated content]
    <link rel=”profile” href=”http://gmpg.org/xfn/11&#8243; />
    <link rel=”stylesheet” type=”text/css” media=

    You can add the meta tag below or after this:
    <meta name=”p:domain_verify” [moderated content] />

    Thread Starter Karenxxx

    (@karenxxx)

    Hi

    That is the meta tag that I’ve added! I really want to sort this out without messing up all the code on my theme!

    “<meta name=”p:domain_verify” [moderated content] />”
    is what I added myself

    Thread Starter Karenxxx

    (@karenxxx)

    I found the following article:-

    http://en.support.wordpress.com/webmaster-tools/#pinterest-site-verification

    but when I go to ‘tools’ – ‘available tools’, there are no ‘website verification services’. Does anyone know how I can do this?

    @karen – you should only be making changes in your child theme – do not make changes in a default WP theme – they will be lost upon update.

    Do you have a copy of header.php in your child theme – that’s the file to change.

    Thread Starter Karenxxx

    (@karenxxx)

    Hi WPyogi

    I have now managed to do it with a plug in. My problem now is I want to delete the code from the forum (I dont think I should have put the verification code on here). I put this on another thread which has now been closed and the moderator said it would be hidden but it isnt! Could you remove the code I posted please (my pinterest verification code)

    I changed it, but please be aware that you should not post anything here that you don’t want public – and that this site is very quickly and widely cached, so that info is already “out there.”

    Thread Starter Karenxxx

    (@karenxxx)

    Thanks a lot Wpyogi, yes I agree I made a silly mistake!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘adding meta tags to header’ is closed to new replies.