• I would like my actually main page:

    01.04.2008
    1 post content title
    01.04.2008
    2 post content title

    To change it for that view:

    01.04.2008
    1st post content title
    2nd post content title
    3rd post content title

    02.04.2008
    1st post content title
    2nd post content title
    3rd post content title

    I have already that code:

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="Post" id="post-<?php the_ID(); ?>" style="padding-bottom: 40px;">
    
    <div class="PostHead">
    <h1><a title="Premalink to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    <small class="PostAuthor">Author: <?php the_author() ?> <?php edit_post_link('Edit'); ?></small>
    <p class="PostDate">
    <small class="day"><?php the_time('d') ?></small>
    <small class="month"><?php the_time('m') ?></small>
    <small class="year"><?php the_time('Y') ?></small>
    </p>
    </div>
    
    <div class="PostContent">
    <?php the_content('More &raquo;'); ?>
    </div>
    <div class="PostDet">
     <li class="PostCom"><?php comments_popup_link('0 comments', '1 comment', '% comments'); ?></li>
     <li class="PostCateg">under: <?php the_category(', ') ?></li>
    </div>
    </div>

    So, please anybody tell me how to make it???

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to list all post by date on main page’ is closed to new replies.