[EventCalendar] Looking backwards in time?
Steve Logan
steve at bigsmoke.com
Tue Oct 31 11:24:01 UTC 2006
Alex,
(I'm using Event Calendar RC2)
Here's the page with the problem...
http://www.crieffadventist.org.uk/?page_id=7
I've set up a category (id=10) called 'Testing' based on a custom
page-test.php page.
Here's the entire code from page-test.php (hope it's not too big...).
Thanks again for all your help...
Steve
--- code ---
<?php
/*
Template Name: Test and debug Category
*/
?>
<?php get_header();?>
<div id="content">
<div id="content-main">
<p>A test page...</p>
<hr />
<?php query_posts('cat=10&ec3_before=today&order=DESC'); ?>
<h2>Previously in Testing</h2>
<!-- The Loop -->
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="posttitle">
<h2><?php the_title(); ?></a></h2>
</div>
<div class="entry"><?php the_content(); ?></div>
<p class="postmetadata">
(posted <?php the_time('F jS, Y') ?> by <?php
the_author_posts_link() ?>)
</p>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div><!-- end id:content-main -->
<?php get_sidebar();?>
<?php get_footer();?>
More information about the EventCalendar
mailing list