Forums

Need help with 'Home' tab (2 posts)

  1. dmwestbr
    Member
    Posted 4 months ago #

    I am using Twentyeleven theme and the hometab is hard coded in as a blog post. I want my Home tab to be a 'page' not a 'blog', is it possible to change the layout? I am a beginner so as many 'non-jargon' words as possible would be appreciated. If you tell me what I need to do (if possible) in laymen's terms, THEN tell me the steps I will be good to go. I already see where the script is: Dashboard< Appearances< Editor< Templates (located on the right side of screen)< Header.

    Here is some of the coding:

    // 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>
    ----------------------Later in coding ----------------------------

    <h1 id="site-title"><span>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></span></h1>
    <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
    </hgroup>

    <?php
    // Check to see if the header image has been removed
    $header_image = get_header_image();
    if ( ! empty( $header_image ) ) :
    ?>
    ">
    <?php

    Please help! Thanks everyone

  2. cmmarslender
    Member
    Posted 4 months ago #

    Have you tried the following in the wordpress admin?

    1. Settings -> Reading

    Where it says "front page displays", change 'your latest posts' to 'a static page' and then select which page you want as the front page.

Reply

You must log in to post.

About this Topic