• Hi there,

    I’m using WP to build a conference website and have a category called “The Program” and each program session is a separate post. I’m using the Future is Now plugin to show future dated posts, and am setting the post dates to the date and time of the sessions themselves.

    I’d like to have the category archive page for this display something like this:

    August 28, 2011
    — 9am Session 1
    All about session
    — 9am Session A
    All about session
    — 10am Session 2
    All about session
    — 10am Session B
    All about session
    — 11am Etc
    All about session
    August 29, 2011
    — 9am Session 1
    All about session
    — 9am Session A
    All about session
    — 10am Etc
    All about session

    I’ve currently got it sorting ascending, but don’t want the date to list in front of each post.

    Currently this is what i’ve got:

    <?php query_posts($query_string."&orderby=date&order=ASC"); ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <?php the_time(__('M d, Y | g:i a', 'gpp_i18n')); ?>
    
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','gpp_i18n'),the_title_attribute('echo=0')); ?>"><?php the_title() ?></a></h2>
    <?php the_content(); ?>
    :::: etc etc:::

    I hope to reuse this theme for several future conferences, so want to stay away from hard coding dates, etc. Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Category archives grouped by date?’ is closed to new replies.