Articles tagged with “tutorial”
- 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 ...