An alternative:
Is it possible to use query_posts to pick out posts that have been ‘active’ recently, ie I would like a page view where posts with new comments are displayed?
It’s very important that I float new content to the top of the blog. Rather like a phpbb forum which floats new posts and comments to the top all the time. But I much prefer the layout and style of wordpress!
Hey, thanks for the reply.
By working days, I mean monday to friday. I want to skip the weekends (this is a blog for tracking work related issues). I’m looking at the SQL examples and am wondering if it’s easier to do this in SQL than PHP, doesn’t SQL have day of week and day of month type functions for doing maths on dates?
Aha!
This seems to be fixed by using:
<?php query_posts($query_string."&showposts=10"); ?>
<?php wp_loginout(); ?>
..needs to be added to your sidebar.php where you want the Log In or Out link to appear.