Zero Element Loading Animations

Pure CSS Smilies

January 29, 2015 Comments (0) Views: 2167 Coding, Tutorials

Retrieving Comments With WP_Comment_Query In WordPress

Ever since WordPress implemented custom post types a whiles back, the use of WP_Query to retrieve posts based on custom criteria has become standard practice. Listing comments has not become so widespread for some reason, despite the availability of the WP_Comment_Query class.

WP_Comment_Query allows theme and plugin authors to retireve post comments using a standardized interface. The days of ugly direct database queries are gone. We can now use modular and readable arguments to do our bidding.

View Tutorial

Tags: #, #, #, #, #, #, #

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.