Decent Comments

Posted by kento on September 7, 2011 10:18 pm

Decent Comments shows what people say.

If you want to show comments along with their author’s avatars and an excerpt of their comment, then this is the right plugin for you.

And it’s not limited to just a widget showing recent comments: The plugin provides configurable widgets, shortcodes and an API to display comments in sensible ways, including author avatars, links, comment excerpts …

Anywhere you place comments, by means of a widget, a shortcode or an API call, you can:

  • Show an excerpt or the full comment. You can choose to not show the comment as well.
  • Determine the number of words shown for excerpts.
  • Set your kind of ellipsis.
  • Set the number of comments to show.
  • Show the author’s avatar and determine it’s size.
  • Sort by author email, author URL, content (what’s said in the comment), date, karma or post … in ascending or descending order.
  • Show comments for the current post or for a specific post.
  • Show comments for posts in specific categories, for specific tags, … (more precisely: the ability to show comments from posts related to one or more terms in a chosen taxonomy).
  • and more …

Feedback is welcome! If you need help, have problems, want to leave feedback or want to provide constructive criticism, please leave a comment.

Please try to solve problems before you rate this plugin or say it doesn’t work. There goes a lot of work into providing you with free quality plugins! Please appreciate that and help with your feedback. Thanks!

Follow me on Twitter for updates on this and other plugins.

Documentation

 

Contributions

If you find this plugin useful, please consider making a donation:


Thanks!

About kento
Computer Science Engineer, IT & Business Consultant, Drupal, WordPress, Scenario Planning ...

36 comments

  • luchosar

    sale este error al instalar:
    Fatal error: Class ‘Decent_Comments_Widget’ not found in /home/luchosar/public_html/wp2/wp-content/plugins/decent-comments/class-decent-comments-widget.php on line 23

  • CH

    Did you do a documentation somewhere how to use the shortcode? [decent_comments] doesn’t show anything.

    • Thanks for mentioning it, there is a section about that being prepared that I’ll add later on.
      The correct form for the shortcode is: [decent-comments/] which will use the defaults.
      If you want to adjust settings, for example to hide avatars, use it like this: [decent-comments show_avatar="false"/]
      Also note that you have to use a dash and not an underscore and the self-closing form that uses the forward slash [decent-comments/]

  • CH

    Thanks! Now it works in a post, but not in a page! But I guess this has something to do with my WP installation.

    Thanks for your plugin, anyway! :o )

  • Tim

    Hi – great plugin! Had it working well as a widget but I found a conflict with PTM Ajax comments – getting the error

    [code]
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Decent_Comment_Widget::cache_delete' was given in /path/to/my/blog/wp-includes/plugin.php on line 405
    [/code]

    Don’t suppose you’ve got any ideas on this?

    • Hi Tim,
      Thanks for reporting this, it was actually a typo (it should have read ‘Decent_Comments_Widget’), fixed it and released as 1.0.2. Please update to that version.
      Cheers!

  • Dear Sir I Want To Add Somments Box In My Site Plz Help Me

  • dalesue

    Hi and thanks for a great plugin.

    I am using the plugin but the avatars do not show up in the sidebar. Only the default avatar does show up even though the personalised avatars show up in the comments section below the post.

    It seems that there is a conflicting plugin but I cannot figure out which one.

    Do you have any idea how I can solve this issue?

    • Thanks for your appreciation :) Could you please forward a link to your site (you can send an email if you prefer) and I’ll take a look.

      • I have the same issue as this guy. Yesterday, the avatar of the Twitter user was showing up. Today, the default wavatar from WP is showing up. http://twitter-twitter.com if you want to have a look. LOVE the idea of this working. Can you help?

        • The avatars on the comments below your posts come via twimg.com but the avatars shown in the widget are served via gravatar.com. Looks like your theme (or a plugin?) pulls avatars based on the commenter’s Twitter id. But the avatars shown in the widget are based on gravatar so that’s why they are different.

  • Stefan

    Greetings, I have successfully installed the plug in and it properly shows in the Widgets area. But there is no information how I can incorporate it into a webpage (not a blog) – preferably in the middle of the page (after one article) below the image and not at the bottom of the page. http://mundi.com/english_latest-html/

    I am on the latest Infocus

    Thanks for your help! Stefan

  • ali

    thank you for this plugin

  • MishaOLS

    Hey, I would like to ask you whether your plug in could display only comments from a specific category of my choice. Currently I use different sidebars on different content pages (blog, videos, etc.) and I would need a widget, which could display only comments from the videos category for example. Thank you very much for your reply! All the best from Misha

    • Hi Misha,
      The comments can’t be restricted to categories as of now, but that would be a nice addition. I’ll take that into account and it could be added to the next release. Thanks for your suggestion.
      Cheers

  • MishaOLS

    Wow Kento, thank you very much for a quick response! I would love to use your plugin once it will have this feature! All the best from Misha

    • Thanks Misha :) I recommend to follow me on Twitter as I do post updates on the plugins there regularly. Cheers

    • Good news :) The latest release (1.1.0) now allows to show comments for posts in specific categories. You can also choose specific tags – it actually works for taxonomies in general with both the shortcode and widget.

  • nic

    I like the plugin. Works great as a widget. But, when I put [decent-comments/] in a new page, it only displays “[decent-comments/]“–no comments. How do I fix this? Thanks.

  • nic

    Twenty ten. Maybe it’s conflicting with my Code Insert Manager (Q2W3 Inc Manager)
    But my short code from a different widget (Contact Form 7) works fine.
    How do I get your short code to work?

  • nic

    I deactivated the code insert manager plugin, and the page still displays the short code–no comments.

    Will I be able to use your plugin?

  • hafizmd

    Hi Kento,

    Thanks for this great plugin.

    Just one question. Can this plugin disable author comments?

    Thanks a lot Kento ;)

    • Hey thanks for your kind comment :)
      It will show comments for all, including a post’s author. There’s no option to disable showing the author’s comments.

  • Love the plug in! Is there anyway to exclude trackbacks from showing up on the recent comment list? Or even better, just exclude internal trackbacks? I make it a habit to link other posts, but this clogs up the recent comment list.

    thanks!

  • Lisa

    Hello there!

    Is there a way to link the content of the comment to the comment itself? Right now you have to click on the name of the post to get to it.

    Plus, can I exclude URLs provided by people? The thing is, the first link you get is the Url provided by the person who commented on the blog and then you see the link to your blog post.

    Thanks!!

Leave a comment

Your email address will not be published. Required fields are marked *

*


four + = 10