Hey, Can someone please give me instructions or help me out? If you look at my blog and click on a post you can see that there is a kind of underline with the date,day,year under the post title to seperate the content with the post title, at the end of the post you can see the underline as well. It was showing up on the homepage as well, but after adding a few plugins it somehow dissapeared. Can someone please give me instructions on how to add a underline and date,day,year under each blog title and at the end of blog post. Thanks,
Try adding this to the loop on the index page after the post title.. <small><?php the_time('F jS, Y'); ?></small> <hr> Further info can be found at http://codex.wordpress.org/The_Loop_in_Action Hope that helps..
Hi, thanks for trying to help, but it didnt work or i'm doing it wrong. This is the code Where am i supposed to add the code? thanks,
<div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y'); ?></small> <span class="posted"><?php the_author() ?></span> <div class="entry"><?php the_content('Read Full entry »'); ?></div> <small><?php the_time('F jS, Y'); ?></small> <p class="postmetadata comments"><?php comments_popup_link('Comments - <span class="nr">0</span>', 'Comment - <span class="nr">1</span>', 'Comments - <span class="nr">%</span>'); ?></p> <p class="postmetadata">Category - <?php the_category(', ') ?><br /><?php the_tags('Tags - ', ', ', '<br />'); ?></p> </div><?php } ?><?php if (function_exists('wp_pagebar')) wp_pagebar(); ?><?php } else { ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p><?php } ?> <?php get_footer(); ?> Code (markup): Copy and paste this inside your PW theme, remember to backup. You can change the CSS styling of the code between <small> tags by making it a div inside the theme CSS.