Articles tagged as “comments”
Here is a list of all articles tagged as “comments”. If you enjoy the high-quality content that I provide here at Perishable Press, you may want to subscribe to our main content feed to stay current.
- Backwards-Compatible Spam and Delete Buttons for WordPress
- Recently, Joost de Valk shared an excellent technique for adding spam and delete buttons to comments on your WordPress-powered blog. The idea is to save administration time by providing links to either “spam” or “delete” individual comments without having to navigate through the WordPress admin area. Joost provides the following plug-n-play solution: // add this code to your theme's function.php file:...
- How to Deal with IE 6 after Dropping Support
- As announced at IE Death march, I recently dropped support for Internet Explorer 6. As newer versions of Firefox, Opera, and Safari (and others) continue to improve consistency and provide better support for standards-based techniques, having to carry IE 6 along for the ride — for any reason — is painful. Thanks to the techniques described in this article, I am free to completely ignore (figuratively and literally) IE 6 when developing and designing websites. Now that I have dropped support for IE 6, I feel liberated, free of the constraints that once enslaved my time, energy, ...
- WordPress Tip: Link Author Comments to the Home Page
- After almost three years of blogging here at Perishable Press, I had an epiphany about my author comment links. Way back when, after installing WordPress in a subdirectory called “/press/”, I decided to set the URL for my Administrative User Profile’s website as “http://perishablepress.com/press/”. After all, it seemed to make sense at the time, plus it really didn’t seem to matter; nobody was going to see my personal profile information anyway, right? Wrong. Three years later, I finally realize that it does matter. The URL that you enter as your profile’s website ...
- WordPress Tip: Disable Comments in Old Posts via PHP
- Just a quick WordPress snippet for future reference. I recently explained how to disable comments, pingbacks, and trackbacks via SQL. Here’s a good way to do it via PHP: You can run this script as a plugin, through your theme’s functions.php, or through a custom user-functions.php file. Simply set the desired number ...
- Obsessive CSS Code Formatting: Organization, Comments, and Signatures
- One of my favorite aspects of producing clean, well-formatted CSS code is “meta-organizing” the document using comments. In CSS, comments are included in the stylesheet like so: /* i am the walrus */ When used constructively, CSS comments serve to break down documents into distinct regions, provide key information about specific declarations, and bring order to even the most complex stylesheets. In my experience, a well-commented stylesheet improves efficiency and optimizes comprehension. Working with CSS, you can add comments any way you want. There are many different ways to use CSS comments, and endless ways to get there. Let’s ...
- Quick Reminder About Downlevel-Revealed Conditional Comments..
- NOTE: This entire article amounts to nothing more than an in-depth learning experience. After writing the article, I realized (painfully) that either format for the second iteration of the downlevel-revealed comment for XHTML is perfectly fine and displays no ill effects or unwanted characters in any browser. Thus, this article is essentially useless, but I am posting it anyway because I just hate deleting several hours of hard work.. As more and more people discover the flexibility, specificity, and all-around usefulness of Microsoft’s proprietary downlevel conditional comments, it behooves us to reiterate the importance of utilizing proper syntax. Specifically, for ...
- Perishable Press Comment Policy
- Before you comment here at Perishable Press, please take a moment to review the official comment policy. Here is a simplified overview of the complete policy: Comments are open to everyone. Name and email are required. Email kept private, never shared. Website URL optional. The form accepts basic XHTML. Line and paragraph breaks automatic. Please wrap each segment or line of code in tags (no tags). I reserve the right to edit/delete any comment. Spam will be deleted. Pointless and otherwise lame comments may be deleted. Please stay on topic and comment intelligently. Official Comment Policy First, ...
- WordPress Tip: Remove Spam from the Comment Subscription Manager
- After investigating some unusual 404 errors the other day, I found myself digging through the WordPress Admin trying to locate the “Subscribe to Comments” options panel. As it turns out, administrative options for the Subscribe to Comments plugin are split into two different areas. First, the S2C plugin provides configuration options under “Options > Subscribe to Comments”, which enables users to tweak everything from subscription messages to custom CSS styles. New to me was the other half of the ...
- WordPress Discussion Management: Enable or Disable Comments and Pingbacks via SQL
- Continuing my quest to stop comment spam without using plugins, I have decided to disable comments on “old” posts. In my experience, over 90% of comment, trackback and pingback spam occurs on posts that have been online for over a month or so, just long enough to be indexed by the search engines and picked up by spammers. Especially for older posts that have managed to ...
- New Version of BlogStats PCC for WordPress 2.3
- Just a note to announce the release of a new version of BlogStats PCC. BlogStats PCC is a free WordPress plugin that provides an easy way to share your blog’s core statistics with your visitors. You can show off any or all of the following statistics: total number of posts total number of comments total number of categories total number of registered users total number of unregistered users total number of individual, static pages the date of the most recent post modification a link to the most recently published blog post a link to the name of the most recent commentator date/time of the most recent blog update, displayed in your default date format BlogStats PCC enables you to display any or ...
- WordPress Spam Battle: 3 Seconds that will Save You Hours of Time
- In the hellish battle against spam, many WordPress users have adopted a highly effective trinity of anti-spam plugins: Akismet Bad Behavior Spam Karma This effective triage of free WordPress plugins has served many a WP-blogger well, eliminating virtually 99% of all automated comment-related spam. When spam first became a problem for me, I installed this triple-threat arsenal of anti-spam plugins and immediately enjoyed the results. Although Spam Karma seemed a little invasive and resource-intensive, too much protection seemed far better than not enough. Even so, during the most recent redesign of the site, one of my goals was to lighten things up as ...
- Hacking WordPress: The Ultimate Nofollow Blacklist
- Several days ago, I posted an article explaining how to hack your own WordPress nofollow blacklist. Immediately thereafter, I published an elaborate article focusing on automatic methods of nofollow blacklisting via WordPress plugins. In this article, I expand on the original blacklist hack by incorporating functional differentiation between commentator links, trackbacks, and pingbacks. If anything, think of this as an exercise in hacking WordPress, rewarding in and of itself, if not otherwise entirely impractical. Of course, whenever possible, ...
- Hacking WordPress: Dofollow Whitelist for Commentator Links
- Before repenting of my filthy “nofollow” addiction, I experimented briefly with a “dofollow whitelist” for commentator URL links. The idea behind the whitelist is to reward frequent commentators, feed subscribers, site patrons, and other guests by selectively removing the automatically generated nofollow attributes from their associated comment-author links. For nofollow enthusiasts, a dofollow whitelist is a great way to show appreciation for people who support your blogging efforts. Now, before we go hacking away at WordPress, keep in mind that ...
- WordPress Plugins Featuring Nofollow Blacklist Functionality
- Is that spam or are you just trying to comment? Removing nofollow attributes from your WordPress-powered site is a great way to encourage comments and attract visitors. Many commentators will leave useful, constructive feedback, but there will always be a few losers who would attempt to game your generous link love. Fortunately, identifying these mindless link whores is relatively easy. Here are a few priceless examples of actual spam (i.e., linked) comments left here at Perishable Press (links removed for obvious reasons): Work at Home Start earn $150/day right now. Part time work for everyone. Nationwide opportunity Our adress. Part Time Job Hi all! Yo u may find it interesting to visit ...
- Hacking WordPress: Nofollow Blacklist for Commentator Links
- Previously, in our unofficial “WordPress dofollow upgrade” series, we dished several techniques for removing the antisocial nofollow attributes from default installations of WordPress. After an exhaustive review of available dofollow plugins, we explained how drop-dead easy it is to transform any WordPress blog into a well-standing member of the dofollow community without relying on a plugin to do the job. Our next article detailed a nofollow removal ...
- Industrial Strength WordPress Dofollow Upgrade
- Encourage Comments by Completely Eliminating All Nofollow Links Want to remove all traces of the hideous nofollow attribute without having to install yet another unnecessary plugin? By default, WordPress generates nofollow links in three different ways — this article will show you how to eliminate all of them.. Some context please.. Note: if you are already familiar with the various functions involved in the nofollow-removal process, please feel free to skip the proceeding discussion and jump directly to the tutorial. WordPress adds nofollow to all trackbacks, pingbacks, and commentator links We have seen how simple it is to ...
- The Deluxe One-Minute Dofollow WordPress Upgrade
- After our previous article, we all know how easy it is to kill the default nofollow attributes that WordPress automatically injects into all commentator, trackback, and pingback links. Indeed, our original one-minute upgrade delivers dofollow links across the board, effectively passing the love juice to every type of response. Fine for some, but some need more.. In this article, we improve the original dofollow upgrade by differentiating between the three different response types. With our “deluxe” model, nofollow attributes may be removed selectively from trackbacks, pingbacks, commentator links, or any combination thereof. For example, you may remove nofollow from commentator links while dishing full juice to ...
- The One-Minute Dofollow WordPress Upgrade
- Want to upgrade your blog to official dofollow status but don’t want to install another unnecessary plugin? This article explains how to eliminate nofollow tags from all trackback, pingback, and commentator links in less than one minute.. After finally repenting of my nofollow sins, I began looking for the best way to eliminate the nofollow attributes that WordPress automatically injects into all commentator URL links. Of course, the most popular technique for removing nofollow attributes from comment links involves one of the many fine dofollow plugins that are freely available to WordPress users. Beyond nofollow removal, ...
- Another Mystery Solved..
- Recently, after researching comment links for an upcoming article, I realized that my default values were being submitted as the URL for all comments left without associated website information. During the most recent site redesign, I made the mistake of doing this in comments.php: ... ... Notice the value="[website]" attribute? It seemed like a good idea at the time — I even threw in a nice onfocus auto-highlighting snippet for good measure. I ran the form with this in place for around eight weeks before finally noticing multiple comments using this for their site URL: http://website Hmmm. Not ...
- Wrapping Your Head around Downlevel Conditional Comments
- If you think you understand the logic behind Microsoft’s downlevel conditional comments, you are sadly mistaken. Sure, they seem simple enough on the surface, but as you really try to wrap your head around how and why they work, the subtle complexities of downlevel conditional comments may leave you dazed and confused... In our previous article on Internet Explorer’s exclusive browser-detection method, downlevel conditional comments (DCC), we present an introductory exposition, defining expressions and providing several generalized code examples. Overall, it is a very useful article but partially fails at explaining ...
- Contact Perishable via Comment
- If you have question, comment, or concern, and prefer to leave a comment rather than send an email, please drop a comment via the form below. I keep a close eye on all comments left on this post, and will do my best to respond in as soon as possible. Please note that all comments left at this post are open to the public and available for anyone to see. That said, have at it!
- BlogStats PCC Plugin
- Announcing the BlogStats PCC plugin for WordPress! BlogStats PCC is the easy way to display the total number of posts, comments, categories, as well as several other great statistics for your WordPress-powered website. With BlogStats PCC, you display only the information you want, where you want -- inside or outside of the WordPress loop. Completely customizable, BlogStats PCC will display any combination of statistics you choose. This plugin is highly flexible, simple to use, and completely free. Update: New version of BlogStats PCC now available! The new version now provides all of these great site statistics: Total number of posts Total number of comments Total number of categories Total number of members Total number of ...
- Display the Total Number of WordPress Posts, Comments, and Categories
- Would you like to display the total number of posts, comments, and categories for your WordPress-powered website? Here is the code that can make it happen 1! Update: The count posts part of this method should only be used for WordPress versions less than 2.5. For WordPress versions 2.5 and better, there is a built-in function for displaying the total number of posts. See The WordPress Codex for more information....
- Protected: Password Monkey
-
- Gravatars at Perishable Press
- Step right up and leave a comment! Complete Gravatar functionality in full effect. Leave a comment to sport your gravatar. Of course, you must have a gravatar to use this feature. Check out this post to see some tuf gravatar action in effect. Hint: gravatars are the small images that appear next to post comments. They are meant to represent the person leaving the comment.
Focused on clean code and quality content, Perishable Press is the online home of Jeff Starr, author, artist, designer, developer, and all-around swell guy.






Social Media
Some more than others, here are some of my favorites..