If you came to this page looking for the latest documentation of the Decent Comments plugin, you will find it here: Documentation
The information below is outdated!
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
- on GroupsHi Robyn, Yes that is possible, I would recommend to use the approach based on nested content blocks, like in…
- on GroupsIs there a way to control content that if the member is a member of two groups the content is…
- Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does this plan…
- Hi Friedrich Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does…
The shortcode can now also be written as
- on GroupsHi Robyn, Yes that is possible, I would recommend to use the approach based on nested content blocks, like in…
- on GroupsIs there a way to control content that if the member is a member of two groups the content is…
- Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does this plan…
- Hi Friedrich Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does…
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:
- on GroupsHi Robyn, Yes that is possible, I would recommend to use the approach based on nested content blocks, like in…
- on GroupsIs there a way to control content that if the member is a member of two groups the content is…
- Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does this plan…
- Hi Friedrich Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does…
An example using customized settings
Place the following shortcode anywhere to show 25 comments featuring 64 pixel avatars:
- on GroupsHi Robyn, Yes that is possible, I would recommend to use the approach based on nested content blocks, like in…
- on GroupsIs there a way to control content that if the member is a member of two groups the content is…
- Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does this plan…
- Hi Friedrich Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does…
- You’re right Erica, I should have mentioned it that the custom rule I recommended should be added in a CSS…
- I consulted with Claude and it helped me add code to my functions.php file to make the background black. I…
- Yes, in the inspect tool I can make it work, but I can’t make it perminant by adding that CSS…
- You’re welcome Erica. Normally you shouldn’t have issues with the CSS rule I’ve shared. Unless there’s any sort of typo,…
- Thanks, but the css you suggested isn’t working. I tried various combinations but couldn’t figure out the right one.
- Yes Erica, perhaps you should try the following rule that changes the active filters background to something more visible. .filters…
- In the meantime, could you possibly help me figure out the correct css to add to make the background black…
- Thanks for sharing the screenrecord Erica, Indeed there seems to be an issue with the background color. We need to…
- Hi George, I thought it was a css thing too, but I can’t find the override. Here’s a video of…
- Hi Erica, Welcome back to our support forum. According to your description, I’m assuming that this could be a CSS…
- Hi Hamza, Welcome back to our support forum, nice to hear from you again and hope you’re doing well too….
- Hi Aleksandar, please note that for continued updates and support you need to renew your license. Your last order was…
- The continuous AJAX run mode sounds particularly useful for stress-testing a store’s performance with large product catalogs. I appreciate that…
- Hi Aleksandar, Welcome back to our support forum for Affiliates Enterprise. What you’re trying to do is possible if you…
- on No downloadHi Darnell, Thanks for upgrading to Affiliates Pro version of the plugin. Please go to https://www.itthinx.com/downloads/ section where you can…
- Hi Alex, Welcome back to our support forum. FYI, the core concept behind Groups remains the same, once a post-type…
- Hi Friedrich, Thanks for reaching out to us regarding Affiliates Pro and the latest version. FYI, after checking your license…
- on GroupsThe method you are calling Groups_Group::read_by_name() does not return a Groups_Group object but a stdClass object which does not have…
Shortcode attributes
The
- on GroupsHi Robyn, Yes that is possible, I would recommend to use the approach based on nested content blocks, like in…
- on GroupsIs there a way to control content that if the member is a member of two groups the content is…
- Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does this plan…
- Hi Friedrich Thanks for the above explanation it helped. We are wondering if we upgrade to Affiliates Enterprise version/plan. Does…
ellipsis
Default : …
exclude_post_author
Default : false
Set to true if comments on posts from the post’s author should not be included.
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
post_id
Possible values:
- “{current}” : show comments for the current post
Usage:- HI, Thanks very much for the kind response and the help. I was 99.9% sure it wasn't an issue with...
- Hi Paul, Thanks for the link. This is an issue with your theme's styling. The :before of the containing div...
- Hi, thanks for the reply. It’s happening on all pages at the moment but here is an example page. https://thevaccinereaction.org/vaccination-category/...
- Hi Paul, Thanks for the kind feedback on the plugin! What you mention could be related to a conflict or...
- a post ID : show comments for a specific post
For example:
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

Leave a Reply