• jimmyneutron

    (@jimmyneutron)


    Is there a way to pull the ‘Latest Activity’ information from the Admin Dashboard into the sidebar of the blog for everyone to see?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Cypher

    (@cypher)

    Sure..you should be able to just copy over the code from the index.php file in /wp-admin over to your sidebar.

    Regards

    Is it possible to put Latest Activity on a seperate page that has nothing to do with wordpress?

    moodsoft, see this for the basics on accessing WordPress in a non-WP document:

    http://wordpress.org/support/topic/24027#post-180517

    i am also trying to do it and i manage to get it to work but how do i put in the _permalink()

    I tried this but can’t work

    <h3><?php _e('Posts'); ?> <?php _e('More posts...'); ?>&raquo;</h3>
    <?php
    foreach ($recentposts as $post) {
    if ($post->post_title == '')
    $post->post_title = sprintf(__('Post #%s'), $post->ID);
    echo "<li><a href='<?php the_permalink(); ?>'>";
    the_title();
    echo '</a></li>';
    }
    ?>

    ok i got it to work by using the loop function

    royng,

    could you post your fix? I am having simialr trouble. When I post the code, I get an error message.

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Latest Activity’ is closed to new replies.