Spring Sale! Save $10 on The Tao of WordPress and book bundles with Digging Into WP and .htaccess made easy – Coupon code: Spring2014
2006 May 22
Daily Archive

Create New Permalink Category

If you are running WordPress 2.0.2 and have enabled permalinks, you may have had problems creating a new category or page to your site. I recently encountered this dilemma and devised the following strategy for adding, editing, or even deleting WordPress categories and pages. Note: this tutorial assumes you are running Apache. First, open wp-includes/vars.php and find (around line #39): $is_apache = ( strstr($_SERVER['SERVER_SOFTWARE'], ‘Apache’) || strstr($_SERVER['SERVER_SOFTWARE'], ‘LiteSpeed’) ) ? 1 : 0; Comment out that line and add the following: $is_apache = 1; Save the file and upload it to your server. Next, check the file attributes of your […] Read more »

Customize Password-Protected Posts

To customize WordPress-powered password-protected posts such as this one, follow these simple steps. First open template-functions-post.php and find the function get_the_password_form, which is located near the top of the page. There are several aspects of this function that you may wish to customize. For example, the Perishable Press website requires several CSS attributes for stylistic control. Thus we simply added the class postpassword to the form input field, as well as the class passwordsubmit to the form submit button. This enabled full stylistic control over password-protected posts. You may also wish to modify the size of the input text field, […] Read more »

Password Protected Post

This is top-secret. And for “eyes only”.. Alright, so it was just a test. Password protection removed in December of 2009 because it is no longer needed. Nothing here anyway. Read more »

Latest Tweets Spring Sale! Save $10 on book bundles w/ Tao of WP, Digging Into WP and htaccess made easy. Coupon code: Spring2014 @ wp-tao.com