easy reference:
look at the code. crack open wp-admin/index.php in a text editor.
Thanks whooami – I looked in just about every othe file…
Cheers
Actually I still have one problem 😉
A direct cut’n’paste of the index code (everything within the zeitgeist div’s) instead of listing 5 posts, most recent first – gives all posts (hundreds) starting with the oldest and (probably to some people this gives a big clue) the timing is reversed – ie a post that is seven hours old says ‘in 7 hours’, likewise a post that is 20 days old says ‘in 20 days’ so comes before the 7 hours post. The rest of the info I want is delivered fine.
Thanks for any ideas…
This is part of the code, so I’m not sure what todo:
<?php
if ( $recentposts = $wpdb->get_results(“SELECT ID, post_title FROM $wpdb->posts WHERE post_status = ‘publish’ AND post_date_gmt < ‘$today’ ORDER BY post_date DESC LIMIT 5”) ) :
?>