The MU forums have moved to WordPress.org

Blog sidebar comments (1 post)

  1. Akashic
    Member
    Posted 15 years ago #

    Hi!

    Just if someone wanted to make the default theme with 'recent comments' in the sidebar:

    $args = array("name" => "Sidebar1", "id" => "sidebar-1", "before_widget" => "<li id=recent-comments class=widget widget_recent_comments>", "after_widget" => "</li>", "before_title" => "<h2 class=widgettitle>", "after_title" => "</h2>", "widget_id" => "recent-comments", "widget_name" => "Recent Comments");
    
    wp_widget_recent_comments($args);

    I'm just pondering why getting recent posts is so simple (wp_get_archives) while to show comments you're likely to use Plugin Commander along with some Recent Comments Plugin. Or am I missing something?

    Then, if the function is already implemented, why to use plugins?

    Cheers,
    A.

About this Topic

  • Started 15 years ago by Akashic