Tag: WordPress

Book Review: WordPress for Business Bloggers

Posted on February 15, 2009 in Blogging, WordPress by Jeff Starr

WordPress for Business Bloggers by Packt Publishing was a pleasure to read because it approaches many of the important aspects of WordPress from a slightly different perspective: that of the “business blogger”. The book is aimed at the aspiring business blogger who wants to use WordPress to run a successful business blog. The book claims to skip the basics and jump right into the meat of transforming WordPress into a lean, mean business blogging machine. While this may be true for the book’s target audience, the technical aspects of WordPress covered in the book are familiar ground to the seasoned WordPress user.

Digging into the book, readers will find the expected WordPress topics explored from a business-blogging point of view. The books moves along at a quick pace, and quickly makes the case for using WordPress to achieve their business blogging goals. The book then presents a case-study that serves as a working example throughout the remainder of the book. After a quick romp through some basic design and coding principles, the book covers the essentials on integrating image and video content into your blog. The following chapter emphasizes the importance of content in general, and provides some timeless advice on using WordPress to deliver superior content.

Continue Reading

Better WordPress Archives via Dynamic Triple Column Layout

Posted on February 10, 2009 in WordPress by Jeff Starr

[ ~{*}~ ] Here at Perishable Press, the number of posts listed in my archives is rapidly approaching the 700 mark. While this is good news in general, displaying such a large number of posts in an effective, user-friendly fashion continues to prove challenging. Unfortunately, my current strategy of simply dumping all posts into an unordered list just isn’t working. I think it’s fair to say that archive lists containing more than like 50 or 100 post titles are effectively useless and nothing more than a usability nightmare. With growing numbers of blogs building up massive collections of posts, finding better ways to display vast quantities of archived material becomes increasingly important.

One solution that seems popular involves breaking the archives down into various categories, tags, and time periods. This provides meta-context to each list of titles and usually eliminates the need for any hideously long post listings. This solution works well, especially when the different category lists are displayed adjacently in multiple vertical columns. For example, a blog with three categories would do well to display each category’s archive listings in its own vertical column. Something like this:

Continue Reading

Remove the WWW Prefix for all URLs via PHP

Posted on February 8, 2009 in Function by Jeff Starr

Canonical URLs are important for maintaining consistent linkage, reducing duplicate content issues, and increasing the overall integrity of your site. In addition to cleaning up trailing slashes and removing extraneous index.php and index.html strings, removing the www subdirectory prefix is an excellent way to shorten links and deliver consistent, canonical URLs.

Of course, an optimal way of removing (or adding) the www prefix is accomplished via HTAccess canonicalization:

Continue Reading

Quintessential Reversion

Posted on January 27, 2009 in Perishable by Jeff Starr

Due to popular demand, I will be switching the site’s default theme back to the colorful Quintessential theme (opens new tab or window). Many people simply felt that the extreme minimalism of the new Requiem theme (opens new tab or window) was just too “plain” or otherwise difficult to navigate due to the single-column design. So, after giving it a go and receiving some excellent feedback, Perishable Press will be rolling with the Quintessential theme — at least for now.. ;)

Those of you who prefer the straightforward usability and minimalist design aesthetic of the new Requiem theme may continue to use it during your visits to Perishable Press. Either click here for Requiem (opens new tab or window), or otherwise scroll down to the footer of the default Quintessential theme to the “Switch Themes” links. Additionally, for the more adventurous surfers out there, you may choose to skin the site with any of my 18 available themes.

Continue Reading

PHP and JavaScript Fallbacks for Your Public Feedburner Count

Posted on January 25, 2009 in Function by Jeff Starr

With the recent Feedburner service outage, many sites across the Web experienced severe drops in their Feedburner subscriber counts. Apparently, Google is requiring all Feedburner accounts to be transferred over to Google by the end of February. In the midst of this mass migration, chaotic subscriber data has been reported to include everything from dramatic count drops and fluctuating reach statistics to zero-count values and dreaded “N/A” subscriber-count errors. Obviously, displaying erroneous subscriber-count data on your site is not a good thing. Fortunately, there are several ways to ensure that this doesn’t happen.

Over at CSS Newbie, author Rob Glazebrook weighs in with an excellent point about covering your bases when displaying your Feedburner subscriber count. As explained in the article, Feedburner’s handy API makes it easy to tap your data and display your subscriber count on your blog. Despite its best intentions, however, Feedburner occasionally returns inaccurate data or even no data at all for the subscriber count. For those of us who care about the accuracy of our publicly displayed feed statistics, displaying information like this on your site is simply unacceptable:

Continue Reading

Time for a New Design?

Posted on January 19, 2009 in Perishable by Jeff Starr

As you may know, Perishable Press was redesigned only several months ago. As much as I enjoy the transparent imagery of the Quintessential theme (opens new window or tab), I find it too distracting and complicated for everyday use.

So I have redesigned, yet again. The new theme is called “Requiem” (opens new window or tab) and is return to my minimalist roots (opens new window or tab). There is something calming and yet energizing about working with a streamlined, no-fuss interface, especially when you are extremely busy. The new theme was completed in December of last year, and I have been using it behind the scenes ever since.

Now I want to know what you think about the new design. Is it an improvement over the previous, more colorful theme? I will be taking your feedback into consideration when deciding whether or not to keep the new “Requiem” theme as the default. Let me know your thoughts! Thanks :)

Go here for a complete list of available themes.

Critical Review of Dyasonhat’s Premium Smart Sort WordPress Plugin

Posted on January 17, 2009 in WordPress by Jeff Starr

After hearing about the recently released “premium” version of Dyasonhat’s Smart Sort Plugin for WordPress, I just had to give it a try. Occasionally working on projects requiring customized ordering of posts, I like to keep my utility belt well-equipped with any plugins or code techniques that will facilitate the process of man-handling post order. In this article, I discuss my experience with WP Smart Sort Premium.

Continue Reading

French Version of Contact Coldform Released

Posted on January 11, 2009 in WordPress by Jeff Starr

Several months after the release of the Arabic and Spanish versions of Contact Coldform, I am pleased to announce the release of a French translation of the plugin. The new French translation is graciously provided by Tony Tohme, who is also helping with the upcoming Russian translation of the Coldform. Thank you, Tony! :)

To download the French version of Contact Coldform, check out the plugin’s home page, where you will find additional information, future updates, and much more.

Continue Reading

Feedburner Alternative: Homegrown Feed Statistics for Your Blog

Posted on December 23, 2008 in Websites by Jeff Starr

If, for whatever reason, you don’t want to use Feedburner to track your feed statistics, this article describes a relatively simple, “roll-your-own” alternative. Instead of redirecting your feed traffic through Feedburner, keep your original feed URLs and place the following code into a file named “feed_stats.php” (or whatever) and upload to your server:

Continue Reading

WordPress Custom Fields, Part II: Tips and Tricks

Posted on December 22, 2008 in WordPress by Jeff Starr

[ Diagram: Electric Field ] As we have seen in our previous post, WordPress Custom Fields Part I, custom fields provide an excellent way to add flexible content to your posts and pages. By assigning various types of content to different custom fields, you gain complete control over when, where, and how to display the associated information. For example, sub-headings may be displayed in the sidebar, footnotes may be consolidated into a single region, post images may be displayed before the post title, and so on. In this follow-up article, we will review the basics of custom fields and then jump into a few custom-field tips and tricks.

Continue Reading

WordPress Custom Fields, Part I: The Basics

Posted on December 17, 2008 in WordPress by Jeff Starr

[ Diagram: Electric Field ] I recently developed a theme that makes heavy use of WordPress’ custom fields. The custom-field functionality of WordPress makes it possible to rig up just about any customized layout quickly and easily. Custom fields enable designers to organize post content into different sections, making it possible to create non-linear page layouts, with different types of content easily removed from the normal post loop and relocated to different parts of the document. This organizational and design flexibility has the added benefit of making it super-easy to update your content, redesign your theme, and handle blog maintenance in general. In the first part of this mini-series, we walk through the process of implementing and using custom fields; then, in part two, I will share some delicious tips and tricks to help you get the most out of everything that custom fields have to offer.

Continue Reading

Redirect WordPress Individual Category Feeds to Feedburner via HTAccess

Posted on December 15, 2008 in WordPress by Jeff Starr

Time for another Feedburner redirect tutorial! In our previous FeedBurner-redirect post, I provide an improved HTAccess method for redirecting your site’s main feed and comment feed to their respective Feedburner URLs. In this tutorial, we are redirecting individual WordPress category feeds to their respective FeedBurner URLs. We will also look at the complete code required to redirect all of the above: the main feed, comments feed, and of course any number of individual category feeds. Let’s jump into it..

Continue Reading

Miscellaneous Code Snippets for WordPress, Windows, and Firefox

Posted on December 14, 2008 in Nonsense, Websites by Jeff Starr

[ Miscellaneous Color Slices ] One of the original purposes of Perishable Press involved serving as a “virtual dumpster” for all of my miscellaneous code snippets. Over time, I continued elaborating to greater degrees on the various code recipes that I was posting, until eventually those brief snippet posts evolved into complete, richly detailed articles (at least from my point of view). Now that I enjoy the luxury of writing for an incredible audience, I try to avoid posting anything that doesn’t include an accompanying explanation. “If it’s worth posting, it’s worth explaining,” I always say. When you have people reading your stuff, there is little room for superfluous nonsense, unexplained code snippets, and long-winded introductions. ;)

Even so, every now and then you need to break the rules, shake up the routine, rock the boat, drop some acid, that kind of thing. Lately, I have been doing some deep archiving and have amassed a considerable collection of completely miscellaneous and unrelated chunks of code. There are too many random snippets to spend time sewing together similar functionality, and I really hate deleting perfectly good code. I also hate keeping misfit code chunks lying around in my otherwise pristine digital archive (joking). Fortunately, this dilemma is easily resolved by loosening up and simply dumping the information right here on the site. After all, that’s what it was originally designed for — in fact, the further you dig back into the archives, the more apparently pointless code snippets you will find. So without further ado, I now present a completely random, unexplained, miscellaneous collection of potentially useful code snippets!

Continue Reading

Perfect WordPress Title Tags Redux

Posted on December 10, 2008 in WordPress by Jeff Starr

In my previous article on WordPress title tags, How to Generate Perfect WordPress Title Tags without a Plugin, We explore everything needed to create perfect titles for your WordPress-powered site. After discussing the functionality and implementation of various code examples, the article concludes with a “perfect” title-tag script that covers all the bases. Or so I thought..

Some time after the article had been posted, Mat8iou chimed in with a couple of ways to improve thie script by cleaning up tag names and specifying page numbers for archive views. Apparently, by replacing the $tag variable with WordPress’ built-in single_tag_title();, titles for Tag-Archive page views will display the tag’s “pretty” name rather than the unformatted version. For example, the tag for Pink Floyd will be displayed correctly as “Pink Floyd” rather than the less friendly “pink-floyd”. And so on.

Continue Reading

Valid, SEO-Friendly Post Translation Links

Posted on December 9, 2008 in Websites by Jeff Starr

Ever wanted to provide automatic language translations of your web pages without installing another plugin? Here is a valid, SEO-friendly technique that takes advantage of Google’s free translation service. All you need is a PHP-enabled server and you’re good to go. Just copy and paste the following code into the desired location in your page template and enjoy the results. Once in place, this code will produce translation links for eight common languages for every page on your site. Grab, gulp and go:

Continue Reading

Backwards-Compatible Spam and Delete Buttons for WordPress

Posted on December 1, 2008 in WordPress by Jeff Starr

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:

Continue Reading

Fully Valid, SEO-Friendly Social Media Links for WordPress

Posted on November 23, 2008 in WordPress by Jeff Starr

[ ~{*}~ ] With the explosion of social media, networking, and bookmarking services, there are a zillion ways to add “Share This Post” functionality to your WordPress-powered sites. In addition to the myriad services and plugins, we can also add these links directly, using nothing more than a little markup and a few choice PHP snippets. Such individual links provide full control over the selection, layout, and styling of each link without requiring the installation of yet another WordPress plugin.

This article shares SEO-friendly code snippets for ten of the most popular social media sites using completely valid XHMTL-Strict markup. All of the following code snippets feature:

Continue Reading

Fruit Loop: Separate any Number of Odd and Even Posts from any Category in WordPress

Posted on November 16, 2008 in WordPress by Jeff Starr

[ ~{*}~ ] Recently, I discussed how to implement a horizontally sequenced display order for WordPress posts in two columns. In that tutorial, I explain how to separate odd and even posts using a dual-loop configuration and PHP’s modulus operator. Such technique serves well a variety of configurational scenarios, but is limited to the display of the default (admin-specified) number of posts from all categories. In this tutorial, we adapt this odd-and-even loop configuration to accommodate a much greater degree of customization. Specifically, we will focus on separating any number of odd and even posts from any specific category or group of categories. Several additional configurational customizations will also be covered.

Continue Reading

WordPress Feedburner HTAccess Redirect for Default (Non-Permalink) Feed URLs

Posted on October 13, 2008 in WordPress by Jeff Starr

[ ~{*}~ ] Recently, a client wanted to deliver her blog feed through Feedburner to take advantage of its excellent statistical features. Establishing a Feedburner-delivered feed requires three things: a valid feed URL, a Feedburner account, and a redirect method. For permalink-enabled WordPress feed URLs, configuring the required redirect is straightforward: either install the Feedburner Feedsmith plugin or use an optimized HTAccess technique. Unfortunately, for sites without permalinks enabled, the Feedsmith plugin is effectively useless, and virtually all of the HTAccess methods currently available on the Web are designed for permalink-enabled configurations. In this article, we will modify our existing HTAccess technique to work with default WordPress feed URLs.

Continue Reading

WordPress Basics — Series Summary

Posted on September 15, 2008 in WordPress by Jeff Starr

One of my first article series, the WordPress Basics series walks beginning users through some of the most rudimentary but essential WordPress tasks. From logging into the WordPress Admin and creating posts to setting post options and uploading images, the WordPress Basics series takes absolute newbies from zero to published in less than an hour.

Once you feel comfortable working with the WordPress Admin, I invite you to explore the many other useful WordPress articles here at Perishable Press:

And, to stay current with future WordPress content from Perishable Press, I encourage you to subscribe to the Perishable Press RSS feed.

Multiple Loops and Multiple Columns with WordPress, (X)HTML and CSS

Posted on September 1, 2008 in WordPress by Jeff Starr

Recently, I have been getting a lot of requests for multiple-loop configurations in WordPress. It seems that multiple-column, multiple-loop configurations are in high demand these days, especially ones that display posts like this:

  • First column, first loop: display posts #1-5
  • Second column, second loop: display posts #6-10
  • Third column, third loop: display posts #11-15

Using WordPress and a little CSS, this configuration is relatively easy to accomplish. Let’s cut right to the chase..

Continue Reading

Secrets of the Conditional Tag Revealed: How to Gain More Control Over Your WP Templates

Posted on August 25, 2008 in WordPress by Erika Kendall

[ ~{*}~ ] More and more these days, we are all finding WordPress being used as a content management system. It shouldn’t be too tough to see why — highly customizable, a community growing in size and knowledge, and a plethora of options in the way of plugins and simple yet highly effective PHP edits. Thanks to these, you have access to an open source script that allows you to show what you want, when you want, where you want, and how you want in virtually no time. But what happens when you only want a simple variation from one page to the next?

Continue Reading

WordPress Plugin: Authenticate Lite

Posted on August 6, 2008 in WordPress by Jeff Starr

[ Icon: Authenticate Lite ] Authenticate Lite is a follow-up version of the original Authenticate custom-content plugin for WordPress. Just as with the full version of Authenticate, Authenticate Lite enables universal and/or targeted inclusion of custom content for both feeds and posts. Ideal for adding copyright information, distribution policy, thank-you messages, custom links, special offers, etc. Custom content may be added to any location within posts or feeds — before, after, or even within post content. This highly flexible content-addition plugin works great on all 2+ versions of WordPress (i.e., 2.0, 2.1, 2.2, 2.3, 2.5+).

Usage examples include:

  • Selective display of targeted advertisements
  • Invite readers to take advantage of special offers
  • Add a copyright message or feed distribution policy
  • Include universal footer content for all feed content
  • Include universal footer content for all single-view posts
  • Improve the brand awareness of your site by adding a custom site logo
  • Add custom messages targeting site visitors, feed subscribers, or both
  • Send unique “thank-you” messages to subscribers and visitors
  • Spice things up by displaying a periodically updated thumbnail or banner image
  • Selectively include links and other information for a targeted collection of posts
  • Anything! This plugin provides an easy, versatile way to add custom footer content
  • Implement a plagiarism-detection string in all of your content for easy identification

Continue Reading