This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

meta name

  • Creator
    Topic
  • #3751
    mossbit
    Participant

    Where do I put the meta name that google wants me to put in the header?
    I looked in the header.php and could not find where to put this meta name.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #3754
    Jason Bobich
    Keymaster

    You’d either hook it to wp_head from your Child theme’s functions.php, or you could just use an SEO plugin like we discussed before that will set all this up for you.

    http://support.themeblvd.com/forums/topic/seo-recomendation/

    That would probably make more sense to do, as things will get very complicated if you’re doing it right and having unique meta data for every page of your website.

    #3764
    mossbit
    Participant

    So I am using Yoast and my understanding is for me to set up Google Webmaster Tools. GWT say I need to put this meta name in the header. I am not sure what a wp_head is. I am very new to WP and would like to do the minimal changes if any.
    Sorry to have bothered you

    #3772
    mossbit
    Participant

    I need to put this in the site I purchased. here is the image link http://i49.tinypic.com/1f8yl5.png.
    What is a wp_head how do I write this in a function.php. I can figure out the child theme from your demo.

    #3776
    Jason Bobich
    Keymaster

    Aw, ok. I misunderstand what you’re asking.

    You’d just create a function that outputs what you want and hook it to wp_head.

    function my_google_verify(){
          echo '<meta name="google-site-verification" content="..." />';
    }
    add_action( 'wp_head', 'my_google_verify' );
    #3777
    mossbit
    Participant

    Thank you for the code.
    So I placed it in the function.php file in the child theme.
    Then I activated the child theme and all my work was gone with color, slider, etc…
    I went into a panic and switched it back the main theme.
    The site is active now.
    Do I have to recreate everything again in the child theme?

    #3778
    Jason Bobich
    Keymaster

    So, you’re just using a Child theme temporarily to verify your site? If that’s the case, you can just leave the parent theme activated and put that code snippet in functions.php of the parent theme. Just remember to remove it after you’re finished verifying your site.

    Also FYI: http://dev.themeblvd.com/tutorial/saving-theme-options-and-switching-themes/

    #3779
    mossbit
    Participant

    Thank you that worked.
    Should I remove the code right away or should I wait a few days before removing it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The forum ‘Akita Responsive WordPress Theme’ is closed to new topics and replies.