post title not showing
-
my post will show up but not the post title
here is my code:<?php get_header(); ?> <div id="content"> <div id="main"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <div id="poststyle"> <h2 class="post"><?php the_title(); ?></h2> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <!--<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>--> </div> </div><!-- end poststyle --> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> </div><!-- end main --> <div id="sidebar"> <?php get_sidebar(); ?> </div><!-- end sidebar --> </div><!-- END CONTENT --> <?php get_footer(); ?>
the css
h2.post {font-size:15px; text-align:left; margin-left:3px;border-bottom:1px solid #c0c0c0} h3 {font-size:14px;border-bottom:1px solid black; width:631px; text-align:right} h6 {font-size:10px;margin:0px;padding:0px; font-weight:normal;display:inline;line-height:10px} .sidebarList {text-align:left; margin-left:-10px} #poststyle {} .entry {margin-left:10px;}
I have tried in both IE8 and chrome, nothing! Thanks for the help!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘post title not showing’ is closed to new replies.