WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Home Page Not Displaying (2 posts)

  1. lwatkins
    Member
    Posted 6 years ago #

    The home-page is not displaying when I use one theme. When I change themes and it is ok.

    Following is what is in the header. Can someone point to what may be the problem? Thanks so much.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    
    	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
    
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
    
    	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    	<?php wp_get_archives('type=monthly&format=link'); ?>
    	<?php //comments_popup_script(); // off by default ?>
    	<?php wp_head(); ?>
    </head>
    <body><div id="container">
    
    <div id="header">
    	<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
    	<div id="banner"> </div>
    </div>

    Leisa

  2. lwatkins
    Member
    Posted 6 years ago #

    Sorry, I meant to include the following information:

    I think it has something to do with the fact that I removed the following lines. I don't want the blog to display the blog description so I removed the following lines.

    <div id="description-container">
    	<div class="description"><p><?php bloginfo('description'); ?></p></div>
    </div>

    Leisa

Topic Closed

This topic has been closed to new replies.

About this Topic