Tag: "comments"
Using WordPress comments as a contact form
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 PostMake your WordPress comments more user friendly with a mini TinyMCE editor
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 PostUsing PHP to alternate background colors for comments or posts in WordPress
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 PostGiving each comment its own link in WordPress
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 PostRecent Comments code snippet
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 PostAkisment Auntie Spam picks up where Akismet leaves off
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 PostContactify – trying to prevent comment spam
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








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