New book on WordPress Theme Development: WordPress Themes In Depth
2006 Jun
Monthly Archive

Backup Block Senders List in Outlook Express

Follow these steps to backup the “Block Senders” list in Outlook Express: From the Desktop, click Start then Run. In the Open box, type regedit then OK. Locate and click the following registry subkey: HKEY CURRENT USER\Identities\(Identity Number)\Software\Microsoft\Outlook Express\5.0\Block Senders Go to the Registry menu and select Export Registry File. From the Save In box, change the location to your desktop. At the File Name box, type “Blocked Senders[date].reg” then Save. Go to the Registry menu and chose exit. To restore a backup, simply right-click on the “Blocked Senders[date].reg” file that you wish to restore and select “merge.” Read more »

Amazing Keyboard Shortcuts

Well, they aren’t really that amazing, but for Windows and Linux users, they sure save time. Ctrl+A: select all Ctrl+C: copy Ctrl+F: find Ctrl+G: find again or find next Ctrl+P: print Ctrl+S: save web page as Ctrl+T: open new tab Ctrl+U: view source code Ctrl+V: paste Ctrl+X: cut Ctrl+Y: redo Ctrl+Z: undo Alt+Tab: cycle through open programs Ctrl+Page Up: navigate forward through open tabs Ctrl+Page Down: navigate backward through open tabs Esc: stops the current tab’s web page from loading Ctrl+Shift+R: total refresh of the current web page — clears out the cache Ctrl+- and Ctrl++: adjust font size — […] Read more »

Geek Code Nonsense

I found this interesting: Enlighten Encode Decode (2012/05/19: 404 link removed) Apparently, I am defined as: GFA d-@ s:- a C++ U@ P@ L@ E@ W+++ !N !o K–? w@ O@ M@ !V PS@ PE@ Y@ PGP@ t !5 !X R@ tv– b+ DI !D G@ e+ h@ r+++ y+++ Read more »

The htaccess Rules for all WordPress Permalinks

Update 2012/07/15 all code updated with the new .htaccess rules (changed in WP 3.0). The code in this article should work with all versions of WordPress. </update> I recently performed a series of tests on a fresh installation of WordPress 2.8.6 to determine the exact htaccess rewrite rules that WordPress writes to its htaccess file for various permalink configurations. Under the WP admin option menu, WordPress lists four choices for permalink structure: Default: http://perishablepress.com/press/?=123 Date and name based: http://perishablepress.com/press/index.php/2006/06/14/sample-post/ Numeric: http://perishablepress.com/press/index.php/archives/123 Custom: /%year%/%monthnum%/%day%/%postname%/ The "default" option is to not use permalinks. The "date and name based" setting invokes the /index.php/%year%/%monthnum%/%day%/%postname%/ […] Read more »

Get Back

The Internet Archive Wayback Machine is a trip into the online past, offering glimpses of ancient website relics. Reaching back through the virtual dark ages of 1996, the Wayback Machine chronicles over 55 billion pages. Although many of the pages appear incomplete due to missing images, the Wayback Machine provides an invaluable resource, enabling users to experience and learn from the arcane internet of yesterday. Check out these archaic online offerings: netscape.com, circa December 31, 1996 microsoft.com, circa October, 1996 The first Google website, circa late 1998 Read more »

Meatspace via Cyberspace

Within the last few years, the convergence of satellite imagery, digital technology, and the world wide web has spawned a host of sophisticated online navigational applications. Perhaps the most significant development involves Google's relatively new map technology, which brings users Google Maps and Google Earth. Whereas Google Maps provides an online navigational resource, Google Earth is a free, fully downloadable software application that brings that literally brings the world to your desktop. A few minutes after downloading and installing Google Earth, we found ourselves amazed, surfing the globe from Seattle to Paris, zooming in from thousands of miles above the […] Read more »

Passing Quotation Marks via wp_link_pages

According to the WordPress Codex 1, it is possible to pass quotation marks via the parameters of the function, wp_link_pages(). This would enable users to assign a particular css class or id to the function output, thereby providing greater design and behavioral control over that particular object. But alas, as reported several times in the WordPress Codex 2, wp_link_pages() is unable to pass quotes without causing errors. To fix this, we open template-functions-post.php and find wp_link_pages(), which is located around line #121 (for WP 2.0.2). The fix is easy, simply edit the <p> in the following lines: $r['before'] = ‘<p>’ […] Read more »

Reversing WordPress Page Navigation Order

This article explains how to reverse the order of WordPress page navigation links. To reverse the default (backward) order of page navigation in WordPress, open the file template-functions-links.php (in WP 2.0) or link-template.php (in WP 2.1/2.2) and scroll down to the last function, posts_nav_link() 1. Next, find the last if statement and switch the order of the following two lines: previous_posts_link($prelabel); [ ignore this line ] next_posts_link($nxtlabel, $max_page); Next, within the first line of the same function (beginning with function posts_nav_link), switch the order of the variables $prelabel=’&laquo; Previous Page’ and $nxtlabel=’Next Page &raquo;’. Finally, within the loop, make sure […] Read more »

Latest Tweets Book Giveaway! Win a free copy of Digging Into WordPress - includes updates and all bonus material: digwp.com/2014/11/book-giveawa…