Tag: "comments"

Get to know every line of your comments.php WordPress theme file

Miriam Schwab | June 3, 2008 | 2 Comments
There is one WordPress theme file that I almost never touch when working on a theme: comments.php. I usually style WordPress comments via the CSS sheet, and that's that. Well, there's a lot you can do to customize and extend WordPress comments if you just know how. ... View Post

Using WordPress comments as a contact form

| February 4, 2008 | 3 Comments
Justin Tadlock has posted a way to use built-in WordPress comments in lieu of a contact form. Basically, you replace your theme's current comments.php file with the one that Justin offers for downloading that checks if a page is called "Contact." If it is, the ... View Post

Allow users to use OpenID to interact with your blog with OpenID WordPress plugin

| January 21, 2008 | 2 Comments
The WordPress OpenID plugin lets visitors to a Wordpress blog quickly register, login, and leave comments using their OpenID Identity. Says it's designed for WP 2.0.3 to 2.1, but may work with 2.3. Wordpress OpenID Plugin View Post

Make your WordPress comments more user friendly with a mini TinyMCE editor

| December 30, 2007 | 15 Comments
WordPress comment boxes tend to be dry, text editors. That's kind of ok for people who know HTML, but even I get frustrated when I want to add a link in someone else's comment box. Here's a really easy and pretty solution: Advanced TinyMCE Editor. This editor add a simple yet useful toolbar ... View Post

Using PHP to alternate background colors for comments or posts in WordPress

| December 26, 2007 | 17 Comments
Some blogs have alternating background colors for their comments and posts, i.e. a green background for every even comment and post, and a grey background for every odd comment and post. How do they do that? Alternating Comments Styles To alternate comments, add the following code to your comments.php template file, under where it says <?php ... View Post

Giving each comment its own link in WordPress

| November 28, 2007 | 4 Comments
Being able to link to specific comments in your WordPress blog could be very handy. Good comments can really add a lot of value to a blog, and you or others may want to refer to specific comments in your posts by linking to them. In general, comments can be linked to, but to ... View Post

Recent Comments code snippet

| November 9, 2007 | 35 Comments
This code is from the Blog Oh Blog theme, and displays recent comments in the sidebar without the need for a plugin: <?php global $wpdb; $sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password ... View Post

Akisment Auntie Spam picks up where Akismet leaves off

| September 18, 2007 | 3 Comments
Akismet brilliantly catches most comment spam and saves it in the Akismet section of our WordPress blogs. But if we don't check Akismet regularly, we can find ourselves hundreds, if not thousands, of comment spam waiting for review. Since Akismet sometimes mistakenly identifies legitimate comments as spam, we need to ... View Post

Contactify – trying to prevent comment spam

| April 22, 2007 | 1 Comment
Contactify is a new service that is supposed to allow people to contact you while hiding your email address, and thus preventing comment spam. I say supposed to, because I'm having trouble figuring out what the advantage of the service is. Here's a play-by-play of my experience:
  • Went to website and signed up with
... View Post

Wordpress Plugin: Comment Email Responder

| April 22, 2007 | 0 Comments
The Comment Email Responder plugin is one of those plugins that make you wonder why no one else ever thought of it. This handy plugin makes it easy for a WordPress administrator to respond to a comment and simultaneously send an email to the commenter. If the commenter has ... View Post
Page 1 of 212