Check this out
Recent comments …
kento on Affiliates Pro WooCommerce Integration PackHi Ty, if a customer makes a purchase and has visited...
Ecwid & Affiliates Pro Video « Easy Affiliate Revenue on Ecwid & Affiliates Pro Video[...] the article here: Ecwid & Affiliates Pro Video Comments [...]...
kento on Affiliates Pro WooCommerce Integration PackHi Colin, you can use a plugin for that, the SB...
kento on Affiliates Pro WooCommerce Integration PackIt doesn't include multi-tier yet, is being asked ever more frequently...
Colin on Affiliates Pro WooCommerce Integration PackI am using the affiliates pro for Woo commerce and all...
Decent Comments Manual
Decent Comments Widget Configuration
To use a Decent Comments comment widget on your site, go to Appearance > Widgets and drag a Decent Comments to the desired sidebar. If you don’t want to customize the widget’s settings, you’re done.
You can use as many Decent Comments widgets you want, each with different settings.
For each widget, these options are available:
- Title : If desired, give your widget a title that will appear above the comments.
- Number of comments : Determines how many comments will be shown.
- Order by … : Choose the criterion used to sort comments.
- Sort order : Based on the criterion, comments can be shown in ascending or descending order.
- Post ID : If empty, shows comments from anywhere on your site, based on the criterion chosen. You can enter part of the title of a post or a post’s ID to only show comments related to a specific post. You can enter [current] or {current} to show comments for the post that is currently displayed.
- Show comment excerpt : If checked, shows excerpts of the comments. If unchecked, shows the full text of comments.
- Number of words in excerpt : Determines up to how many words are shown as an excerpt for each comment.
- Ellipsis : This is shown after a comment’s excerpt, if there are more words in the comment than shown in the excerpt.
- Show author : If checked, displays the author of each comment.
- Show avatar : If checked, displays the comment author’s avatar.
- Avatar size : Determines the size of the avatars shown in pixels.
- Show link to post : If checked, shows a link to the post that the comment is related to.
- Show the comment : If checked, displays the comment excerpt or full comment.
- Taxonomy : Indicate category if you would like to show comments on posts in certain categories. Give the desired categories’ slugs in Terms. For tags use post_tag and give the tags’ slugs in Terms.
- Terms : If a taxonomy is given, indicate the slugs of the terms in that taxonomy separated by comma to show comments for all posts related to these terms. To show comments on posts related to the same terms as the current post, indicate: {current}. If a taxonomy is given and terms is empty, no comments will be shown.
Decent Comments Shortcodes
Decent Comments provides the [decent-comments/] shortcode that can be used to embed comments anywhere.
The shortcode can now also be written as [decent_comments/] (with an underscore instead of a dash).
If no attributes are given, the default settings are used.
Using default settings
Place the following shortcode anywhere to show comments based on the default settings:
[decent-comments/]
An example using customized settings
Place the following shortcode anywhere to show 25 comments featuring 64 pixel avatars:
[decent-comments number=”25″ avatar_size=”64″ /]
Shortcode attributes
The [decent-comments/] shortcode supports the following attributes:
ellipsis
Default : …
excerpt
Default : true
max_excerpt_words
Default : 20
strip_tags
Default : true
avatar_size
Default : 24
number
Default : 5
order
Default : “DESC”
Possible values: “ASC”, “DESC”
orderby
Default : “comment_date_gmt”
Possible values:
“comment_author_email” : Author Email
“comment_author_url” : Author URL
“comment_content” : Content
“comment_date_gmt” : Date
“comment_karma” : Karma
“comment_post_ID” : Post
show_author
Default : true
show_avatar
Default : true
show_link
Default : true
show_comment
Default : true
taxonomy
Use category for categories or post_tag for tags.
Default : empty
terms
A comma-separated list of term slugs.
Default : empty


Hi,
I want to create box at the bottom of each post which says something like:
x people have commented on this post, what are your thought
where x is the number of comments for the specific post
if x = 0
then the text would say
Still no comments be the first to comment, click here.
The click here would be a link which then opens the comment box.
Is this possible with your great plugin. I could not see how to configure the shortcodes to do the number of comments.
Anyway, if this is not something that is possible then thank you for your time.
thanks for the great work.
You can configure the number of comments (the shortcode allows to use the same options as the widget – see http://www.itthinx.com/plugins/decent-comments-manual/ ) but there’s no option to show the number of comments or to do a configurable text as per what you mention. But you could use a template for that. Thanks for using the plugin
Hey thanks for the quick response. The plugin is great I will figure out your template idea.
Have a good weekend.
Do all parts of the shortcode customization need quotemarks?
For example:
[decent-comments number=”25″ excerpt="false" avatar_size="32" /]
I guess I thought that false and 32 would NOT have quotemarks around them.
This is what the Shortcode API page says:
… Shortcode attributes are entered like this:
[myshortcode foo="bar" baz="bing"] …
But shortcode_parse_args($text)‘s pattern matching regex looks as if it tries to be more flexible …
Is there any way to show the date of a comment?
There’s no option that would allow you to do that yet.
Thanks for the reply.
Could I asked that this be added to a wish list of new features?
Sure you can, sensible feature requests are always welcome.
Hello, I’ve installed the Decent Comments plugin, and it looks like it will be exactly what I want. My only problem is, when I choose to “Show link to post” from the widget options, only the most recent comment is displayed and it also hides the excerpt.
I have chosen to display the 8 most recent comments, with 20 words for the excerpts and it all works great until I tick the “Show link to post” option. Can you suggest anything that I can do here, as I would ideally like to show the link to the post that the comment relates to.
Thanks for any help,
Barry
Have you checked Show the comment as well? If yes and they don’t show up, can you give a link to your site where the widget is visible please?
Thanks for the reply. Yes I have ticked the “Show the comment” box as well. I currently have the options set up as I would like to have them, and you can visit the site here, http://www.barryyoung3d.com/blog
Also, it appears that it works perfectly in Chrome, but doesn’t appear right in Internet Explorer or Firefox.
Thanks
Barry
Thanks Barry, checked your site but the Decent Comments widget isn’t displayed there. You’ve got a widget Recent Comments but that’s not the one.
Thanks for your reply, no, I have switched out the widget. I found one that was displaying how I would like it to across the various browsers. Thanks for taking the time to have a check.
Cheers.
hi,
when using shortcode is it possible to use PostID’s? more specific is it possible to use “current” as postID attribute?
- j
The widget supports it, the shortcode not yet (although technically it already does …)
Can I display the current comments into the Shortcodes.
If not, his there a way to do this?
[decent-comments max_excerpt_words="55" number="10"/] [current]
It could be made possible, the shortcode doesn’t take the post_id attribute though. I thought it more useful for the widget to offer that option but didn’t see the need to use that in the shortcode as you usually get the comments for the current post anyway … but this is the second time someone asks for this
What about display only comments from current post using shortcode. Is there any attribute to do that?
Thanks.
What would the shortcode be for calling a category or post tag? I can’t get it to work. Thanks.
Examples that don’t work:
[decent-comments max_excerpt_words="400" category="blog"/]
[decent-comments max_excerpt_words="400" taxonomy="blog-post-2"/]
For the dogs and cats categories: [decent_comments taxonomy="category" terms="dogs,cats" /]
For the mice and rats tags: [decent_comments taxonomy="post_tag" terms="mice,rats" /]
Worked great, Kento. Thanks very much!
I forgot to ask: Is it possible to have the shortcode also show the comments box to add a new comment? Thanks.
Nope, that’s not possible.
Thanks for the reply.
Pleasure