The MU forums have moved to

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

  1. hhuskies
    Posted 16 years ago #


    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:

    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.



  2. andrea_r
    Posted 16 years ago #

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

  3. hhuskies
    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?

    $blogs = get_last_updated();
    if( is_array( $blogs ) ) {




About this Topic

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