WordPress.org

Ready to get started?Download WordPress

Forums

recent comments plugin not showing more than 5 comments (3 posts)

  1. mrsdeane
    Member
    Posted 6 years ago #

    I've installed the 'recent comments' plugin by Krischan (as a wdiget) and wanted to increase the number of comments showing in the side bar. Went to the options page and set the comments to a higher number, hit the update button, but nothing happens. It won't show more than the default 5 comments. What am I doing wrong?

  2. mrsdeane
    Member
    Posted 6 years ago #

    bump, anyone?

  3. michaelkalina
    Member
    Posted 6 years ago #

    Edit the recent-comments plugin and where it says

    function mdv_recent_comments($no_comments = 7, $comment_lenth = 10, $before = '<li>', $after = '</li>', $show_pass_post = false, $comment_style = 0)

    change the number of 7 (or 5 in your case) to how many comments you want to have...

Topic Closed

This topic has been closed to new replies.

About this Topic