Back to Top

BWP Recent Comments 1.1.0 for the International Workers’ Day!

Previous Post:

BWP Recent Comments 1.1.0 for the International Workers’ Day!

People are celebrating the International Workers’ Day, and I would like to join them with the second major release of BWP Recent Comments! In this version, you will enjoy two prime new features, including paginated comments and post-based comments.

1. Paginated Comments

This feature was actually requested by a plugin user, but I think it’s a prominent functionality that should be implemented anyway. What it does is allowing you to have a paginated comment list on a separate page, using its own template (similar to comment, pingback, or owner template).

BWP Recent Comments - Paginationwp-content/uploads/2011/01/bwp-rc-paged-300x211.gif 300w" sizes="(max-width: 450px) 100vw, 450px" />

BWP Recent Comments - Pagination

The pagination feature is ideal for developers or end-users who would like to have a guestbook on their websites. Visitors will be able to view all the comments by clicking on the next and previous links, conveniently.

2. Post-based Comments

Basically this feature allows you to build a comment list by pulling comments from a specific post, including custom post types of course.

BWP Recent Comments - Advanced Widget Usagewp-content/uploads/2011/01/bwp-rc-widget-advanced-245x300.gif 245w" sizes="(max-width: 399px) 100vw, 399px" />

BWP Recent Comments - Advanced Widget Usage

See the ‘Post ID or name (slug)’ input? You can specify an ID or a post slug there and this plugin will happily generate a comment list based on that post. Pretty neat!

Of course this version also comes with other minor enhancements and bug fixes, such as the possibility to trim post titles and exclude certain user ids from being included in a comment list. So, what are you waiting for? Check 1.1.0 out!

Detailed information about BWP Recent Comments can be found on its official page, as always! If you have anything to say, feel free to comment below, thanks!

Take Social Sharing to
the Next Level with Monarch!

Take Social Sharing to the Next Level with Monarch!
Print Article Trackback Trackback to this Article   Subscribe to Comments RSS Subscribe to Comments RSS

33 Opinions for BWP Recent Comments 1.1.0 for the International Workers’ Day! (31 Trackbacks)

  1. User's Gravatar
    Michael July 19, 2011 at 8:34 pm – Permalink

    Hello, and thanks for making a great plugin! I’ve found it very useful. I was wondering if you know of how it might be possible to link to the comment author’s author page on the blog (the blog is a closed forum in which all the comments are also by authors). I know wordpress has a simple the_author_posts_link(); function and also get_author_posts_url();, but I’m not sure how to work it into your given code.

    Right now under template options I have the following listed (using my own CSS):
    %author% on %post_title%%time%%excerpt%

    What I would like to change is the href=”%author_url%” to the author posts page. I’m fine with going into the php code, but like I said, I’m not quite sure what to change to make it work.

    Sorry, I can’t give you a link to the site b/c its a closed forum.

    Thanks for your help!

    • User's Gravatar
      OddOneOut July 19, 2011 at 9:34 pm – Permalink

      Hi Michael,

      I’m glad that you like BWP RC, I will definitely make it even better in the future. About the %author_url% I would suggest that you add a new template tag instead of modifying the current one, as I will add this in the next version anyway.

      To add a new tag, open includes/class-bwp-recent-comments.php and go to line 657, you will see this code block:

      		// Author
      		$comment['author']	= $commentdata['comment_author'];
      		$comment['author_url']	= $commentdata['comment_author_url'];
      		$avatar_width = (!empty($this->options['input_gravatar_width'])) ? $this->options['input_gravatar_width'] : $this->options_default['input_gravatar_width'];
      		$comment['avatar'] 	= ($this->options['enable_gravatars'] == 'yes') ? get_avatar($commentdata['comment_author_email'], $avatar_width, NULL, __('User Avatar', 'bwp-rc')) : '';

      Modify this block to suit your needs :). Good luck!

— Comments are closed.

Next Post: