• This is a handy panel in my dashboard. I looked for (and didn’t find) a way to replicate (most of) this on my log page – is there an easy reference or plugin out there?
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • easy reference:

    look at the code. crack open wp-admin/index.php in a text editor.

    Thread Starter billnanson

    (@billnanson)

    Thanks whooami – I looked in just about every othe file…
    Cheers

    Thread Starter billnanson

    (@billnanson)

    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”) ) :
    ?>

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘latest activity (zeitgeist)’ is closed to new replies.