How To Add Underline And Date,Day,Year Under Wp Blog Post?

Discussion in 'WordPress' started by gary15, Sep 10, 2009.

  1. #1
    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,
     
    gary15, Sep 10, 2009 IP
  2. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    uglyboy, Sep 10, 2009 IP
  3. gary15

    gary15 Peon

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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,
     
    gary15, Sep 11, 2009 IP
  4. Designstrike

    Designstrike Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <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 &raquo;'); ?></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.
     
    Designstrike, Sep 11, 2009 IP
    uglyboy likes this.