WordPress Get Recent Comments Function

enter A friend asked me to put up recent comments on http://www.7achy.com

see You could use a plugin, but writing your own function gives you a lot more control.

https://thermocomfort.ca/toronto/ Here is a function called getRecentComments [surprise surprise!] that puts out basic information about recent comments in an unordered list.

see Copy and paste the function into your theme’s function.php then call it like this:

Buy Xanax Overnight Delivery getRecentComments(10);

https://gardenswhisper.com/underwatered-hibiscus/ Replace the number with as many comments as you want.
This function is verified and used on this website (bottom right) and soon on http://www.7achy.com

Clonazepam For Sale Online You can edit this function to output a lot more than what’s in there; refer to WordPress’s codex.Then edit the $commentReturn string to include whatever you want.

https://theyoopergirl.com/2015/03/whole-wheat-cranberry-walnut-bread-vegan/ The funny thing is, I thought this function didn’t work when I tested it here … then I realised :'( there are no comments on my website!! *I has a sad*

One Comment on “WordPress Get Recent Comments Function

Leave a Reply to mohan Cancel reply

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