A simple shortcode to display recent comments. You can use it in text widgets or with every shortcode enabled page builder. The shortcode: [recent-comments] [recent-comments num
A simple shortcode to display recent comments. You can use it in text widgets or with every shortcode enabled page builder.
The shortcode:
[recent-comments]
[recent-comments number=”10″ author=”” title=””]
There are seven parameters for this shortcode:
author__not_in – Author ID to exclude from the list. Default: NULL to list all comments from all authors.
number – Number of comments to return. Leave blank to return all comments. Default: 5
order – How to sort comments: ‘ASC’ (Ascending – lowest to highest) or ‘DESC’ (Descending – highest to lowest). Default: DESC
author – Do you want to hide the author? Just give an empty parameter: author=””
title – Do you want to hide the title? Just give an empty parameter: title=””
excerpt – Do you want to hide the excerpt? Just give an empty parameter: excerpt=””
morelink – You can specify the text of the more link. Do you want to hide the more link? Just give an empty parameter: morelink=””
There is no mandatory parameter, you can use the shortcode as is.
IMPORTANT! This (or any other) shortcode is working only in a widget, if you or the theme has enabled the use of shortcodes in widgets. I’m not giving any description how you can do it, because there are a lot of posts out there. You can do a search for this: wordpress enable shortcodes in widgets
This website uses cookies to improve your experience. If you decide to use this website, you agree that certain cookies will be used. If you do not agree please close this website. Read moreACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Surbma | Recent Comments Shortcode
€0
A simple shortcode to display recent comments. You can use it in text widgets or with every shortcode enabled page builder. The shortcode: [recent-comments] [recent-comments num
2.0
2023.04.07
20
5.1
6.2
7.0
0.00
1
Description
A simple shortcode to display recent comments. You can use it in text widgets or with every shortcode enabled page builder.
The shortcode:
[recent-comments]
[recent-comments number=”10″ author=”” title=””]
There are seven parameters for this shortcode:
There is no mandatory parameter, you can use the shortcode as is.
IMPORTANT! This (or any other) shortcode is working only in a widget, if you or the theme has enabled the use of shortcodes in widgets. I’m not giving any description how you can do it, because there are a lot of posts out there. You can do a search for this: wordpress enable shortcodes in widgets