• Where does the following code go in the code that follows:
    <meta name=”keywords” content=”plans, build, shed, Scissor, truss, roof, house, concrete basement forms, garage, footings, vinyl siding, wood, floor, walls, old, books, furniture, CD, blueprint, boat, camper, diy, free, woodworking”>
    <meta name=”description” content=”how to build plans, do it yourself,out of print, books, roof truss plans, vinyl siding, basement forms, cellar, footings, frame walls, shed, home, house, garage”>

    Go inside this code???

    <?php
    /**
    * The Header for our theme.
    *
    * Displays all of the <head> section and everything up till <div id=”main”>
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
    <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’, ‘twentyten’ ), max( $paged, $page ) );

    ?></title>
    <link rel=”profile” href=”https://gmpg.org/xfn/11&#8243; />
    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
    <?php
    /* We add some JavaScript to pages with the comment form
    * to support sites with threaded comments (when in use).
    */
    if ( is_singular() && get_option( ‘thread_comments’ ) )
    wp_enqueue_script( ‘comment-reply’ );

    /* Always have wp_head() just before the closing </head>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to add elements to <head> such
    * as styles, scripts, and meta tags.
    */
    wp_head();
    ?>
    </head>

    <body <?php body_class(); ?>>
    <div id=”wrapper” class=”hfeed”>
    <div id=”header”>
    <div id=”masthead”>
    <div id=”branding” role=”banner”>
    <?php $heading_tag = ( is_home() || is_front_page() ) ? ‘h1’ : ‘div’; ?>
    <<?php echo $heading_tag; ?> id=”site-title”>
    <span>
    ” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”> How to Build Plans<?php //bloginfo( ‘name’ ); ?>
    </span>
    </<?php echo $heading_tag; ?>>
    <div id=”site-description”>Home improvement and new construction building plans<?php // bloginfo( ‘description’ ); ?></div>

    <?php
    // Compatibility with versions of WordPress prior to 3.4.
    if ( function_exists( ‘get_custom_header’ ) ) {
    // We need to figure out what the minimum width should be for our featured image.
    // This result would be the suggested width if the theme were to implement flexible widths.
    $header_image_width = get_theme_support( ‘custom-header’, ‘width’ );
    } else {
    $header_image_width = HEADER_IMAGE_WIDTH;
    }

    // Check if this is a post or page, if it has a thumbnail, and if it’s a big one
    if ( is_singular() && current_theme_supports( ‘post-thumbnails’ ) &&
    has_post_thumbnail( $post->ID ) &&
    ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘post-thumbnail’ ) ) &&
    $image[1] >= $header_image_width ) :
    // Houston, we have a new header image!
    echo get_the_post_thumbnail( $post->ID );
    elseif ( get_header_image() ) :
    // Compatibility with versions of WordPress prior to 3.4.
    if ( function_exists( ‘get_custom_header’ ) ) {
    $header_image_width = get_custom_header()->width;
    $header_image_height = get_custom_header()->height;
    } else {
    $header_image_width = HEADER_IMAGE_WIDTH;
    $header_image_height = HEADER_IMAGE_HEIGHT;
    }
    ?>
    <img src=”<?php header_image(); ?>” width=”<?php echo $header_image_width; ?>” height=”<?php echo $header_image_height; ?>” alt=”” />
    <?php endif; ?>
    </div><!– #branding –>

    <div id=”access” role=”navigation”>
    <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    <div class=”skip-link screen-reader-text”>“><?php _e( ‘Skip to content’, ‘twentyten’ ); ?></div>
    <?php /* Our navigation menu. If one isn’t filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
    <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
    </div><!– #access –>
    </div><!– #masthead –>
    </div><!– #header –>

    <div id=”main”>

Viewing 10 replies - 1 through 10 (of 10 total)
  • I wouldn’t add it in there at all.

    The reason for adding this is only SEO, and having the same content for the meta keyword and description tag on every page is worse then not having it at all.

    What you should do is look for a good SEO plugin (I currently use Yoast’s WordPress SEO plugin) that lets you add in the meta values for these on a page-by-page basis, and copy the content of the tags into the areas on each page/post. That way you’ll have that where it’s meant to be, you don’t need to edit files, and you can make it unique for every page on your site.

    Thread Starter plansman

    (@plansman)

    Hi, Thanks and I don’t know how to use the Yoast (I’ve got it). I added info to a few products or pages and it seems my traffic stopped so maybe I did it wrong.

    All of the Yoast stuff is normally around the bottom of the edit page, underneath the main editor area. Just copy the values into each of the fields in that area. That’s all that you need to do.

    One other thing to remember is that you should target each page to one key term/phrase only. What you have above is terrible for SEO as you’re trying to cram everything onto the same page, and that will hurt you. Remember, one page, one key term.

    Thread Starter plansman

    (@plansman)

    I copied my title and entered it as the keyword phrase so is that wrong?

    No. Not if that’s the key phrase that you want.

    We won’t go too far ito SEO here because that’s outside of the scope of thse forums, and there’s a lot better places to get SEO advice than here. ??

    Thread Starter plansman

    (@plansman)

    This is a sample of a title that I added into the focus keyword box. Plans How To Make Wood Roof Truss Level Overhangs. Is that too long? Thanks you are very helpful.

    Probably. I wouldn’t use that, but I’m not doing the site.

    Thread Starter plansman

    (@plansman)

    Any advice on which of these words to use? Thanks.

    Really, no. SEO is very specialised, and is beyond the scope of these forums. If you want to know what keywords/phrases you need to target you need to do your own research as we don’t know what you’re trying to achieve, and again, it is outside the scope of these forums.

    Thread Starter plansman

    (@plansman)

    OK one last question? Is it better for me to leave everything blank than add the wrong text or info in the Yoast focus keyword, SEO title & Meta description? This is one question I would really appreciate you answering? Thanks!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Where does this code go in my editor?’ is closed to new replies.