How to Display a Random Comment From a Specific Post

| Last Updated: | In: WordPress, WP Labs


If you want to display the random comments from a specific post, then keep your eyes in this tutorial as I am going to share the simple and easy code snippets which will fetch the comments randomly from a specific post.

How to Display a Random Comment From a Specific Post

In the below code you need to replace the post id as per your choice. Use the below code in your template file Or your theme files where you want to display the random comments from a particular post.

Tags: , ,


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.


You may also like:

Get Free Access of 500+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW