WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Get Recent Comments] How to use it twice in 1 installation (2 posts)

  1. lawoep
    Member
    Posted 4 years ago #

    I want to show the 2 most recent comments in the sidebar plus have a page, that shows the most recent 20 or maybe 50 comments to all posts.

    I got it to work fine in the sidebar, but now I wonder how to use it again in a page with different settings. Can I pass parameters to the function?

    ---

    I already tried to create the page myself with get_comments():
    $comments = get_comments('status=approve&post_id=0&number=20');

    This works fine to get comment_content, comment_author - but how do I get any info on the post, that was commented on?

    http://wordpress.org/extend/plugins/get-recent-comments/

  2. Gravitydk
    Member
    Posted 4 years ago #

    I have the same question.

Topic Closed

This topic has been closed to new replies.

About this Topic