The MU forums have moved to WordPress.org

Recent Changed Blogs? - Recent Created Blogs? (4 posts)

  1. KlaasKoopman
    Member
    Posted 16 years ago #

    Hi All,

    I've seen the code for the recent changed blogs, but is there a possibility to exclude the main page out of it? Like I'm trying to run a service for others to get a blog.mysite.com. And now when I edit my main page, the link to that also get's in that list?

    And second, is there a plugin that shows the last 10 created blogs?

    Thanks ahead!

  2. pug
    Member
    Posted 16 years ago #

    to show the last created blogs you could use this one:
    http://wpmudevorg.wordpress.com/project/List-All-Posts

    changing the following call in list_all_wpmu_posts function:

    if ($tmp_order == "last_created") {
                $order = "ORDER BY  blog_id DESC";

    actually instead of changing the core function i've copied that function calling it list_all_wpmu_posts_2, here's it:
    http://ar2k.tk/blog-archives/

  3. lunabyte
    Member
    Posted 16 years ago #

    That function is already exists within MU. No need for an additional plugin. You can find it in wpmu-functions.php

  4. pug
    Member
    Posted 16 years ago #

    ops sorry, didnt knew that.

About this Topic

  • Started 16 years ago by KlaasKoopman
  • Latest reply from pug