How to Display a Random Comment From a Specific Post

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.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , ,