Need help with 'Home' tab
-
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 ) ) :
?>
“>
<?phpPlease help! Thanks everyone
The topic ‘Need help with 'Home' tab’ is closed to new replies.