What do you mean by “current posts”? WP by default should display all the posts in a category – unless you tell it otherwise (e.g. modifying the Loop).
As for reverse order, just do a search…
Thread Starter
pmtate
(@pmtate)
That’s what I thought but my category.php loop is:
<!-- main content area-->
<div class="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<small><img src="<?php bloginfo('stylesheet_directory'); ?>/images/timeicon.gif" alt="" /> <?php the_time('F jS, Y') ?> by <img src="<?php bloginfo('stylesheet_directory'); ?>/images/author.gif" alt="" /> <?php the_author() ?> </small>
<div class="entry">
<?php the_content('[more... »]'); ?>
</div>
<p class="info">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/comments.gif" alt="" /> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
<?php comments_template(); ?>
</div>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h2 align="center">Not Found</h2>
<p align="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
It only shows posts dated today and future events, I didn’t think this did anything out of the ordinary
I have Eventcalendar from firetree.net and the category is the parent of my events catagory.
Hope this clarifies my problem.
I have Eventcalendar from firetree.net and the category is the parent of my events catagory.
Hope this clarifies my problem.
Yes it does. You just solved your own mystery 😉
Thread Starter
pmtate
(@pmtate)
ok I am being thick
Does event calendar affect all posts or is it because the category is the parent of the events category?
When you click on a category name (e.g. in the sidebar’s menu) on the so-called category archives view it will display all the posts in THAT category and ALL ITS CHILDREN’s.
Thread Starter
pmtate
(@pmtate)
ok, thanks for the quick responses, will remove the parent child link
-later not sure if it is related but I removed the category parent child link and now mysql crashes 8(
This is on a test blog and this is the last thing before putting it love 8(
WordPress database error: [Lost connection to MySQL server during query]