Browsing tutorials in Comments


1 Star2 Stars3 Stars4 Stars5 Stars

Display Separate Counts for Comments, Pingbacks and Trackbacks

In WordPress, there are three ways to respond to a post: you can leave a comment, leave a trackback, or just link to the post to create a pingback. When displaying all of the responses to your posts, it’s a good idea to separate the comments from the pingbacks and trackbacks. Uninterrupted comment threads are a pleasure to read, as are well-styled lists of pingbacks. This is an excellent way to improve the usability, organization, and stylishness of your comment areas.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

Most Commented Posts The Right Way

Just a very quick tip but nonetheless an important one. Many of you will be using any number of plugins or the database query that’s been doing the rounds recently to display your most popular posts. That code/plugin is no longer needed as WordPress’ query_posts can now display your most commented posts.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

Stylizing Threaded/Nested Comments

One of the features I love in Wordpress 2.7 is the ability to have threaded (nested) comments up to 10 levels deep. While viewing comments on this – or any Wordpress 2.7-powered – site, you’ll notice a Reply button (assuming nested discussions are enabled). Clicking that will enable you to reply directly to that comment, keeping discussions in context.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

Display Gravatar & Autofill Fields for Previous Commenter

When someone comments on your site, cookies with the information the entered are saved to their computers. WordPress makes it easy to access that information. In fact, in your comments.php template they are ready-to-go PHP variables you can spit out anywhere you’d like.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

How to Disable HTML in Comments

If you simply disable HTML from your WordPress comments, it can prevent a lot of SPAM. In this quick tip we will show you how to disable HTML tags in your WordPress comments.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

How to Disable Comment Feeds for Individual Posts

This is a nice feed offering, but many people use the Subscribe to Comments plugin and find the individual-post feeds to be unnecessary. In this situation, it is easy enough to remove all comment-feed links from the theme-template files, but even after the physical links are removed, WordPress will continue to generate links in the section of your pages.

Category: Comments, RSS Feeds | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

Customising wp_list_comments()

Wordpress 2.7 introduced a simplified way of listing comments with a new function called wp_list_comments() for use in a theme’s comments.php. This automatically takes care of the display of the author, date, avatar, comment text etc, rather than the more complex way used for older versions of Wordpress. This is all fine and dandy, but actually makes customising the output of the comments – ie what exactly is displayed – slightly more complex.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

Display the Most Accurate Comment Count in WordPress

In this article we will show you how you can display the correct comment count through a small snippet which will filter out trackbacks and pings and only display the actual comment count to your users.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

How to Separate Trackbacks from Comments

In this article we will show you how you can separate trackbacks from comments in WordPress. This hack will only work for version 2.7+

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

How to Highlight Author’s Comments in WordPress

In blog posts that generate high amount of discussion, it often becomes hard for users to track the author’s comment. Specially when the discussion is heated, it is very interesting to see author’s thoughts. In this tutorial we will share one of the easiest and simplest way to highlight author’s comments in WordPress.

Category: Comments | Source: | | Report Broken Link
Processing your request, Please wait....