The MU forums have moved to WordPress.org

How to create Recent Updated times... (3 posts)

  1. hhuskies
    Member
    Posted 16 years ago #

    Hello,

    I would like to be able to show the recent updated times along with the blog names on my home page. How is this possible?

    For example, on the Harvard website: http://blogs.law.harvard.edu/

    Something like that but with times. Do you have any idea what the code would be for this on my homepage? I would probably have to call upon some data from a certain table in my database. I tried to figure this out earlier, but just couldn't figure out the right code.

    Thanks!

    Christian

  2. andrea_r
    Moderator
    Posted 16 years ago #

    The recent_posts plugin could easily be modified to add the last_updated field, I think.

  3. hhuskies
    Member
    Posted 16 years ago #

    Another problem I am having is that the Recently updated blogs area shows ALL of the recently updated blogs. It doesn't limit it to 10, or anything like that. How would I mod the home code to limit the number of blogs to show on that page?

    And I am still stuck on how to show recently modified times along with the blog names.

    This is the code on the home page for the recently modified blogs. How would I add in the 10 blog limit, and how would I add in the latest modified times?

    <?php
    $blogs = get_last_updated();
    if( is_array( $blogs ) ) {
    ?>

    <?php
    }
    ?></p>

    Thanks,

    Christian

About this Topic

  • Started 16 years ago by hhuskies
  • Latest reply from hhuskies