WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Question about and location (5 posts)

  1. Chris Stevens
    Member
    Posted 1 year ago #

    I'm trying to verify a site by inserting a meta tag. the instructins say to "Copy the meta tag below and paste it into your Web site's home page. It should go in the <head> section, before the first <body> section."

    <meta name="norton-safeweb-site-verification" content="6cblz2psnup7q814xkah7cjukrm5vzb8or1ok2yci7a90u8nvwwb02iovpj1h6osdnfl1ba-7-cyss3codmhvebgt1l74-tsddq-58-89e5e41weynglz-l47ueqmuiy" />

    I think the homempage is called Header.php in the Editor (or is it Index.php?).

    Anyway, in Header.php, I found this (below). Do i put the tag in here somewhere? Thank you for your help!

    <head>
    	<meta charset="<?php bloginfo('charset'); ?>" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php
    	suffusion_document_header();
    	if (is_singular()) {
    		wp_enqueue_script('comment-reply');
    	}
    ?>
    	<!--[if lt IE 9]>
    	<script src="<?php echo get_template_directory_uri(); ?>/scripts/html5.js" type="text/javascript"></script>
    	<![endif]-->
    <?php
    	global $suf_cpt_layouts, $suffusion_cpt_layouts;
    	if (isset($suf_cpt_layouts)) {
    		$suffusion_cpt_layouts = suffusion_get_associative_array($suf_cpt_layouts);
    	}
    
    	wp_head();
    ?>
    </head>
    
    <body <?php body_class(); ?>>
        <?php suffusion_before_page(); ?>
    		<?php
    			suffusion_before_begin_wrapper();
    		?>
    		<div id="wrapper" class="fix">
    		<?php
    			suffusion_after_begin_wrapper();
    		?>
    			<div id="container" class="fix">
    				<?php
    					suffusion_after_begin_container();
    				?>
  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    The head section of the page is in the header.php file, yes. But you should not be editing theme files directly, but rather using a Child Theme so that your changes won't be erased when the theme is updated. http://codex.wordpress.org/Child_Themes

    Once you do that, make a copy of your header.php file in the child theme and you can add the code just above the closing head tag - this </head>

  3. Chris Stevens
    Member
    Posted 1 year ago #

    Thanks, WPyogi.

    Is a Child Theme necessary when all I'm doing is verifying a site so that Norton can check it? Or do they continue to verify it forever?

    Besides, learning how to use Child Themes is on my list somewhere, but nowhere soon... I hope.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Well, it's up to you. Any changes you make to theme files (i.e. the header.php file) will be erased when the theme is updated, so you'll have to redo those changes. (Make sure you keep copies of changed files and very good backups if you are doing it that way!) I believe that Suffusion has a free child theme - so you might just check into that sooner rather than later :). You really don't want to get too far down the road of "later" as you'll have to redo a lot of stuff when you move to a child theme -- settings and options don't transfer over to a child theme.

  5. Chris Stevens
    Member
    Posted 1 year ago #

    Thanks, Yogi.

    It just now got verified. And you've nudged me a little closer to learning about Child themes.

    Thanks for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.