Change number of Recent Comments displayed

Viewing 3 posts - 1 through 3 (of 3 total)
  • #2103
    ChattahoocheeNow
    Participant

    Hi Daniel,

    In the Recent Comments, right sidebar, I would like it to display the 10 most recent comments instead of 5. That’s because, in the left sidebar, I am using the tag cloud and it’s already quite long!

    I found this line in functions.php
    $comments = get_comments(‘status=approve&number=5’);

    but when i change it to number=10 nothing changed.
    Where would I need to change this?

    As always – thank you very much for your help, and I really appreciate your time!!

    #2104
    Daniel Tara
    Keymaster

    You are not using the built-in function but a custom widget. You must change the number in the widget’s settings.

    #2105
    ChattahoocheeNow
    Participant

    Right, got it – thank you.

    On a similar note – because of this answer, I realized how to fix another thing.

    To change the number of articles displayed in “Latest” (Recent), the last section of the main column, I didn’t need to mess with any code, but instead just used “Blog pages show at most XX posts” in Settings-Reading.

    (Hope this helps someone else and saves you, Daniel, some keystrokes.)

    Grateful….

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.