Articles tagged with “tutorials

Fruit Loop: Separate any Number of Odd and Even Posts from any Category in WordPress
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) ...
The Ultimate Guide to swfIR Image Replacement
In this ultimate guide to swfIR, you will learn how to use swfIR to replace your ordinary images with richer, stylized graphics. swfIR enables efficient, practical and scalable application of drop-shadows, rounded corners, and even image rotation to any number of specified images throughout your site. From concept and application to examples and recipes, this ...
Better Default Directory Views with HTAccess
Beautify your default directory listings! Displaying index-less file views is a great way to share files, but the drab, bare-bones interface is difficult to integrate into existing designs. While there are many scripts available to customize the appearance and functionality of default directory navigation, most of these methods are either too complicated, too invasive, or otherwise insufficient for expedient ...
Redirecting Subdirectories to the Root Directory via HTAccess
One of the most useful techniques in my HTAccess toolbox involves URL redirection using Apache’s RedirectMatch directive. With RedirectMatch, you get the powerful regex pattern matching available in the mod_alias module combined with the simplicity and effectiveness of the Redirect directive. This hybrid functionality makes RedirectMatch the ideal method for highly specific redirection. In this tutorial, we will explore the application of RedirectMatch as it applies ...
WordPress Basics — Series Summary
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. WordPress Basics: Login to Admin WordPress Basics: Publishing Post...
Multiple Loops and Multiple Columns with WordPress, (X)HTML and CSS
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 ...
Secrets of the Conditional Tag Revealed: How to Gain More Control Over Your WP Templates
Exclusive guest post 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 ...
Horizontally Sequenced Display Order for WordPress Posts in Two Columns
Most WordPress-powered blogs display posts in sequential order within a single column. Like this, for example (note: I don’t know how well the formatting will be preserved in your feed reader — please check original post for clarity): . . . . . . . . . . . . . . . . . . . ...
Unobtrusive JavaScript: Auto-Clear and Restore Multiple Form Inputs on Focus
In an effort to organize my pile of offline notes, I will be posting a number of quick, “to-the-point” tutorials on a number of useful topics. In this post, I share an excellent method for auto-clearing and restoring multiple form field inputs using a bit of unobtrusive JavaScript. This method was discovered at xy.wz.cz. There are two steps to this technique, which should take no longer than five minutes to implement. Step 1: Prepare the Form Begin ...
How to Generate Perfect WordPress Title Tags without a Plugin
Keeping an eye on all things WordPress, I have noticed an ongoing fascination with configuring the ultimate WordPress tags. Many bloggers use various plugins to generate differently configured tags depending on particular page views. A good example of this is seen in the All in One SEO Pack, which, among many ...
How to Display Your Twitter Posts on Your WordPress Blog
Alright, time for another “How’d-you-do-that-thing-on-your-site?” post. This question comes from the one and only Mr. Graham of ImJustCreative.com. In a recent email, Graham literally begged me to share my “secret recipe” for displaying my latest Twitter Tweets (wow, did I actually just say that?) right here on Perishable Press: ...Would be really really decent of you if you could let me know how to do it? Pretty please? ...
CSS/(X)HTML Tutorial: Hovering Accessibility Jump Menu
Recently, a reader named Don asked about this theme’s accessibility (accesskey) jump menu located at the top of each page. Several people ...
Transfer Autometa Plugin Data into All in One SEO Pack
During my last redesign and site overhaul, I finally made the leap from WP 2.0 to 2.3. In the process of synchronizing data and removing unecessary plugins, I managed to replace several keyword- and meta-related ...
Permalink Evolution: Customize and Optimize Your Dated WordPress Permalinks
How to streamline and maximize the effectiveness of your WordPress URLs by using htaccess to remove extraneous post-date information: years, months, and days.. Recently, there has been much discussion about whether or not to remove the post-date information from WordPress permalinks 1. Way back during the WordPress ...
Advanced PHP Error Handling via PHP
In my previous articles on PHP error handling, I explain the process whereby PHP error handling may be achieved using htaccess. Handling (logging, reporting) PHP errors via htaccess requires the following: Access/editing privileges for htaccess files A server running ...
Serve Yourself: Why Feedburner Needs a Feed Fix
If you are using Feedburner to deliver your feeds, chances are high that most — if not all — of your loyal readers have subscribed to the Feedburner-specific version of your feed’s URL. This is not a good idea for a couple of important reasons: Complete content-delivery failure if/when the Feedburner service goes down Cohesive branding strategy impossible because visitors see ...
1-Minute Tutorial: Permanent (301) Redirect via PHP or htaccess
Here is an example of one of the most frequently asked PHP/htaccess-related questions I receive here at Perishable Press: How do I redirect a specific page/URL using PHP/htaccess? So common is this inquiry that I have decided to just post a quick, “one-minute” tutorial describing the technique. Permanent (301) Redirect via PHP To permanently redirect a ...
Advanced PHP Error Handling via htaccess
In my previous article on logging PHP errors, How to Enable PHP Error Logging via htaccess, we observed three fundamental aspects of preventing, preserving, and protecting your site’s PHP errors: Prevent public display of PHP errors via htaccess # supress php errors php_flag display_startup_errors off php_flag display_errors off php_flag html_errors off php_value docref_root 0 php_value docref_ext 0 Preserve (log) ...
How to Enable the Default WordPress Object Cache
Recently, while attempting to optimize site performance, I found myself experimenting with various caching mechanisms currently available for WordPress. Specifically, I explored each of the following caching options: WP-Cache 2 [WordPress plugin] WP Super Cache [WordPress plugin] WordPress Object Cache [built-in caching mechanism] While working with the two plugins, WP Cache 2 and Super Cache, I was pleased to discover crystal-clear instructions on each their respective sites. Having access to ...
5 Easy Ways to Display Syntax Highlighted PHP Code
A great to way to share your PHP code with visitors is to display it directly in the browser with automatically generated syntax highlighting. Here is a screenshot showing an example of syntax-highlighted PHP code: Displaying your ...
Protect Your Site Against UserCash and Other Scumbags
In this brief article I explain the atrocity that is UserCash and then provide the JavaScript needed to protect your site. What is UserCash? UserCash is an online advertising program that uses redirects and frames to exploit your site with advertisements. UserCash customers link to target sites using rewritten URL’s generated via the UserCash “generator/compiler.” There are two types of these rewritten UserCash links: Links that use frames to create banner-like ads above your pages Links that ...
How to Add Meta Noindex to Your Feeds
Want to make sure that your feeds are not indexed by Google and other compliant search engines? Add the following code to the channel element of your XML-based (RSS, etc.) feeds: Here is an example of how I use this tag for Perishable Press feeds (vertical spacing added for emphasis): Perishable Press http://perishablepress.com/press Digital Design and Dialogue ~ Mon, 29 Oct 2007 21:38:24 en...
Stupid htaccess Trick: Enable File or Directory Access to Your Password-Protected Site
In this brief tutorial, we are going to enable users to access any file or directory of a site that is password-protected via htaccess. There are many reasons for wanting to employ this technique, including: Share public resources from an otherwise private site Enable visitors to access content during site maintenance Testing and formatting of layout and design during development As a webmaster, I have used this technique on several ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
How to Block IP Addresses with PHP
[ Keywords: block, deny, ip, address, php, spam, htaccess, redirect ] Figuratively speaking, hunting down and killing spammers, scrapers, and other online scum remains one of our favorite pursuits. Once we have determined that a particular IP address is worthy of banishment, we generally invoke the magical powers of ...
Wireless Internet: BlackBerry Curve as Bluetooth Modem for OS-X Mac
[ Keywords: blackberry, curve, 8300, mac, os x, bluetooth, modem, tether, pairing, wireless ] BlackBerry Curve Wireless Modem for Mac “Stay connected to the Internet wherever you go by using your BlackBerry Curve (8300) as a Bluetooth modem for your OS-X-powered Macintosh...” This tutorial guides you through the process of connecting wirelessly to the Internet using ...
WordPress Basics: Uploading and Displaying Images
[ This article continues a series of tutorials covering the very basics of using WordPress. ] This brief tutorial outlines the process of uploading images and displaying them in your posts. This tutorial applies specifically to WordPress version 2.0+, but may be extrapolated to other versions. 1. Login and go to the Write Post panel If you have not done so already, login to the WordPress Admin area (for help with this, go here). ...
WordPress Basics: Setting the Date, Author, and other Post Options
[ This article continues a series of tutorials covering the very basics of using WordPress. ] Now that we are comfortable logging in, publishing a post, and saving and editing posts, it is time to look at a few other useful posting options. In this tutorial, we explain how to set and change the post date, post author, and several ...
WordPress Basics: Saving and Editing Posts
[ This article continues a series of tutorials covering the very basics of using WordPress. ] After logging in to WordPress and publishing a post, you may wish to return to the post for additional editing or to add new content. Or, perhaps you draft a post for which you would like to postpone publishing until later. This tutorial covers both of these processes. Editing a post ...
WordPress Basics: Publishing Posts
[ This article continues a series of tutorials covering the very basics of using WordPress. ] Once you have successfully logged in to the WordPress Admin area, you may want to publish a post. To do so, follow these steps: 1. Locate and click on the Write tab Within the WordPress Admin, there are many menu tabs. Each tab provides access to a different feature of WordPress. To write and publish a post, locate ...
WordPress Basics: Login to Admin
[ This article begins a series of tutorials covering the very basics of using WordPress. ] To login to the WordPress (WP) Administration area, follow these steps: 1. Go to the Admin Login screen Go to the WordPress login screen, generally located at http://yoursite.com/wp-login.php or http://yoursite.com/wp-admin/ (note: if WordPress has been installed in a subdirectory, the login screen should be located at http://yoursite.com/subdirectory/wp-login.php). 2. Enter your username and password The Admin screen presents two text fields: one ...
Install Windows 98SE and Windows XP Pro on Sony Vaio PCG-F430
Recently, I had the opportunity to completely reformat the 5.58GB hard drive on my trusty Sony Vaio PCG-F430 laptop. During the process of reformatting, I decided to install both Windows 98 Second Edition and Windows XP Professional on a partitioned C drive. Additionally, I needed to establish a wireless connection to the local network. The entire process consumed around five hours and required plenty of research, analysis, and ...
Roll your own Apache Rewrite Log
Note to self: Here is the .htaccess code for creating an Apache Rewrite log. This is definitely helpful for testing .htaccess rewrite rules, permalinks, etc. Update: as jc points out in the comments section, Apache versions 2.2 or better no longer allow RewriteLog directives in htaccess files. For these versions, it is necessary to coordinate logging through the server configuration file or via virtual host. For more information, check the source. For ...
Launch Multiple Programs with One Click
Speed up your workflow by launching your favorite programs in one click using batch (.bat) files: Create a folder and add shortcuts to your favorite programs. Rename the shortcuts so that each consists of a single word. Create a text file and change the name to something.bat. Right-click on the .bat ("batch") file and select "Edit". Emulate the following template according to your specific programs. rem comments should begin with rem rem note: this file launches all of my favorite ...
Perishable Press Triple Loop for WordPress
Two of the themes developed by Perishable Press, Apathy and Information, depend on three WordPress loops to operate as intended. For each of these themes, the three loops consist of two "side" loops and one main loop. The side loops each display posts from one specific category, while the main loop displays posts from every category not specified in the side loops. There are many different multi-loop configurations ...
Extreme Makeover for Gravatars in WordPress
Strategic Methods for Improving Gravatar Functionality in WordPress Gravatars have become a popular way of adding spice to the "comments" page of many WordPress-powered sites. So popular, in fact, that the gravatar server is often overloaded, bogged down with millions of gravatar requests every second. This immense server load effects user pages everywhere, resulting in slow loading times, unresolved server requests, and missing gravatars. Such broken presentations appear unprofessional, tarnish reputations, and may provoke ...
Epson Slide Scanning
The Epson Perfection 1260 Scanner is equipped with an external lamp adapter that enables the scanning of slides. To use this feature via Photoshop, follow this procedure: Remove scanner lid and plug in the adapter Restart the computer and open Photoshop Click on File » Import » EPSON TWAIN 5.. From the Document Source drop-down menu, select Color Positive Film (TPU) Set the resolution to 2400dpi, which is equivalent to an image that is approximately 10″ x 6″ Set other settings accordingly Place slide ...
Hacking Firefox Extensions
Firefox extensions enable users to customize Firefox with additional features. Generally, Firefox extensions are free, open-source, and easily downloaded as .xpi files. This article explains how to hack Firefox extensions of the .xpi variety. There are many reasons why someone would want to hack a Firefox extension -- examples include: editing code, debugging errors, and learning extensions. This hack method requires a web browser, zip utility, and text editor. Step 1: Secure an extension By default, the Firefox browser ...

Contact Perishable Press

  • Contact Jeff via form

Search Perishable Press

About Perishable Press

Perishable Press is the virtual playground of Jeff Starr — visionary, founder and lead developer of Monzilla Media, a small web and graphic design company in the lush desert oasis of Moses Lake, Washington. Perishable Press features articles and tutorials on many aspects of digital design..

Read more..

Perishable on Twitter

Laguna Sunrise, for those who know

Perishable on Tumblr

How to Close your Windows Live ID and Hotmail Account

Sunday, 9 November 2008, 6:06 pm

After deciding to stop using Hotmail, I went ahead and tried to close my newer Hotmail accounts. Unfortunately, the process of closing the accounts was a dreadfully convoluted experience, mostly due to the fact that these newer Hotmail accounts are acutally two accounts in one: one is associated with a Windows Live Hotmail account, and the other associated with a Windows Live ID account.

Whatever. After spending twenty minutes trying to figure out how to close the account(s), I decided I had better share the information for future reference. I mean, for crying out loud, Microsoft has convoluted the process to the point of absurdity. It’s like going on a damn treasure hunt! Don’t believe me? Check it out:

Login to your Hotmail account. In the upper right-hand corner, click on “Options” and then on the “More Options” link in in the drop-down panel. Then, under the “Manage your account” section, click on “View and edit your personal information”. From there, click on “Settings” in the left sidebar. Under “Additional options”, click on “Close account”. But wait, you’re not done yet!

On the “Are you sure you want to close your account” page, read everything and then enter your password for verification. If the Live ID account was not associated with a Hotmail account, you should see a success message. If your account was associated with a Hotmail account, you will see a message that says: “Cannot close your account”. Read the paragraph; in it, you will find a link to close your associated Microsoft Live Hotmail account. Click it.

The next screen gives a final warning that you are about to close your Windows Live Hotmail account (as if you didn’t know by now!). Read everything and then click “Close account” to finally close the damn account. And, believe it or not, that’s all there is to it! ;)

Goodbye, Hotmail

Sunday, 9 November 2008, 5:15 pm

Over the years, I have accumulated a large number of free Hotmail accounts. Several of these accounts were created over seven years ago, long before Microsoft made their first major overhaul to the Hotmail service. The overhaul happened quietly around five years ago (if I remember correctly), and directly affected the way in which all future Hotmail accounts operated.

One of the differences between the (very) old accounts and those established after Microsoft changed everything, is the way in which Thunderbird (and various other open-source email applications) is able to process emails from either type of account. For some reason, all of my old Hotmail accounts are processed perfectly well from within Thunderbird; however, those accounts created within the last several years do not play nice at all.

Unlike the older accounts, which are completely synchronized and integrated into Thunderbird, the newer accounts continually throw errors whenever they are checked for new email. These errors are usually associated with good ‘ol Hotmail not accepting any preset passwords, which must be re-entered manually every time email is checked. Needless to say, this behavior is very inconvenient. Meanwhile, the older accounts function flawlessly.

To get the Hotmail accounts to work at all with Thunderbird, two extensions are required, Webmail and its Hotmail-specific add-on. These two extensions enable users to integrate and process their Hotmail accounts along with all of their other email accounts. At first, the Webmail extensions worked perfectly with all Hotmail accounts; then, after a year or so, the newer Hotmail accounts stopped working. After upgrading the Webmail extensions, the newer Hotmail accounts would work, but then another year or so later, the same thing would happen all over again.

Occasionally, I have been able to get the newer Hotmail accounts to work by rolling back the Webmail extensions to previous versions, but this does not always work. Frankly, I suspect that the good ‘ol boys down at the Hotmail factory purposely tweak the system settings such that Hotmail is incompatible with free, open-source email applications like Thunderbird. I don’t know, but one thing is certain, the changes are happening on the Hotmail side of the fence, and they are changing their settings either deliberately or without concern for non-Outlook users.

So, as I find this cycle having come full-circle again, I am once again unable to check emails on newer Hotmail accounts. The bad news is that I am plumb out of previous Webmail extensions to try, and there aren’t any new versions to check out. So, as of today I am officially dumping all of my newer Hotmail accounts. I no longer have the patience or free time to spend fiddling things, trying to second-guess periodic changes on the Hotmail server. I will certainly keep the older accounts for as long as they continue to work, but the newer accounts are just not worth the effort. So, goodbye, Hotmail, I will never open another account with you again.

Transparent Division Recipe

Wednesday, 15 October 2008, 7:59 pm

I am getting so old that I need to make recipes of my design stunts so I don’t have to relearn them from scratch every time. Sad, but so are a lot of things..

In any case, here is the basic procedure for creating the transparent panels used in my current (Quintessential) design:

  1. Open main design template
  2. Verify proper widths via existing images
  3. Create guides according to desired width(s)
  4. Create a rounded-corner vector shape of 10-pixel radius
  5. Rasterize vector shape
  6. Set outer-glow layer style (normal, 33, 3, 7)
  7. Create new empty layer and merge with panel layer
  8. Magic-wand select panel area at 1%, no anti-aliasing
  9. Add layer mask to reveal all
  10. Ctrl+Gradient tool from panel top to desired fade
  11. Duplicate layer as new document
  12. Crop and match desired size

From there, it should be self-explanatory. If not, perhaps it’s time to pursue an alternate line of employment..

Tons of Firewalls

Tuesday, 7 October 2008, 1:45 am

Recently overheard on conservative talk radio (instructing listeners how to obtain a free promotional video from their new website):

“This website has tons and tons of firewalls, so you have to use your real email address to download the video..”

The Quiet Search Revolution

Monday, 6 October 2008, 12:15 pm

Just a thought.. As awesome as Google is these days, it would suck if they ended up owning the entire search-engine business. When they get to the point where all competition is impossible (due to their sheer size, financial resources, media influence, etc.), how many alternate search engines will have the resources for continuous improvement and top-quality search results? When this happens, we will have no choice but to do exactly what Google tells us to do.

As deeply ingrained as it is for everyone to instinctively and unthinkingly turn to Google for their search activity, it is time to leave a few alternate search tabs open for as much use as possible. Instead of using Google just because that’s what you always do, try your search on MSN, Yahoo, Ask, or any of the other independent search engines instead. Sharing traffic with other search engines is a nice, quiet way to keep the competitive spirit alive and well in the search-engine business.

Read more on Tumblr..

Subscribe to Comments Recent Dialogue

  • Catania Escort: gvumc xdpys cpyxitb...
  • Chris: Hey guys, thanks for getting back to me. I just tried it out using a new theme and it seems to be working fine so far! If I run into ...
  • Michel: Hi, Thanks for the Tips. The RedirectMatch 403 \/\/ do not work on this attack: http://www.mydomainname.com/request/playing.ph...
  • Jeff Starr: @Chris: There are so many different things involved with any given layout that it is difficult to troubleshoot and solve problems wit...
  • Martin: Chris: Not sure exactly what the issue is (perhaps someone else can be more specific in their assistance) but the following article w...
  • Jeremy: This worked great with OS 10.5.5 and my Blackberry Pearl (8100). Thanks!...
  • Chris: It is amazing how many dofollow plug ins there are. It is a wonderful thing if people use it correctly. My blogs are on blogspot and ...
  • Chris: Martin: Both of the divs have different IDs, but the problem seems to be with how the 'content' div handles what the new div 'contain...
  • Jeff Starr: Hi David, I disagree entirely that the issue described in the article is anything at all abnormal. I have developed many sit...
  • balisugar: Hi, sorry to botter you, I need help. I think I have a few pages with strange url, that i can see from my wassUp stats. That xxx i...

Read more recent comments..

Subscribe to Content Recent Activity

Recent Articles

Popular Posts

Recent Updates

Random Articles

Explore the Archives..

Attention: Do NOT follow this link!