Stylehack

WordPress Tips :: Are Your Permalinks Dead in V 2.6?

Filed under:

If you recently upgraded to WordPress 2.6 and suddenly your pretty permalinks don’t work properly, or at all… and if your “more” or “page” features aren’t working (usually a related problem), there is a temporary fix you can put in place:

http://wordpress.org/support/topic/189058

Basically, look at #2 there. I’d try it in two versions:

  1. First, without “/index.php” added to the beginning of /whatever-your-existing-structure-is/ AND with “category” and “tag” in the two custom fields;

  2. If that doesn’t work, add the “/index.php” to the beginning of /whatever-your-existing-structure-is/ AND leave “category” and “tag” in the two custom fields.

My experience is that adding the “/index.php” doesn’t hurt even on an Apache server, and in some cases solves a world of hurt.

Notice I said “temporary fix”? Quoted directly from the support post above:

The upcoming release of WordPress 2.6.1 will correct this issue.

Wordpress Tips :: Beating the <!–more–> Tag into Submission

Filed under:

When you don’t want to have long articles displayed in full on multi-post pages, like the index page, Wordpress has a nifty little “tool” you can invoke by inserting a special tag into your post content:

Inserting the <!–more–> tag into the post content in the above image resulted in this display on the index page:

HOWEVER. (There’s always a “however”, isn’t there?!) To my mind there is a problem with the default implementation of this tag… by default when you click on the link to read the rest of the post the content above the tag is hidden!

Read the entire article »

Customizing a WordPress 2.5.1 Theme — Part 4: Page Footer

Filed under:

In this article, we’ll make our second modification by modifying the default footer content.

IMPORTANT:   For the purpose of this series of tutorials, I’ll be using the WP 2.5.1 DEFAULT template for all examples. Yes, I know 2.6 is now out, but for purposes of continuity we’ll stay with the same version throughout this series. Don’t worry, it all works the same way in version 2.6!

Modifying Your Blog Footer

This is a another really easy modification. Again, it requires a little pre-planning, some common sense and a bit of imagination. For purposes of this walk-thru we’ll reorganize the footer content, add a bit of PHP scripting to automate the copyright date and add an image to reflect the site’s header for a little bit of interest.

The Pre-planning Stage

Load your blog in a browser and look at it carefully. In fact, it is sometimes helpful to save the index page WITH IMAGES as a plain old HTML page on your local computer so you can conduct a quick and easy check of things “under the hood”. In this stage we’ll compare the default generated footer content to the script to get an idea of how/what/where to change things.

The footer generated by the WP default theme looks like this:

Read the entire article »

Other articles in the Theme Customization series:

Customizing a WordPress 2.5.1 Theme — Part 3: Header Images

Filed under:

In this article we’ll make our first modification by replacing the header image with our own image.

IMPORTANT:   For the purpose of this series of tutorials, I’ll be using the WP 2.5.1 DEFAULT template for all examples.

Changing the Header Image

This is a really easy fix. All it requires on your part is a little pre-planning, some common sense and a bit of skill with a graphics program. Sometimes — like this example — it’s as easy as replacing the existing image with a new image of the same dimensions, sometimes it takes a bit more work.

A Little Pre-planning

Load your blog in a browser and look at it carefully. In fact, it is sometimes helpful to save the index page WITH IMAGES as a plain old HTML page on your local computer so you can conduct a quick and easy check of things “under the hood”. Basically you need to have a good understanding of how the header image fits into the design.

The header image (kubrickheader.jpg) for the WP default theme looks like this:

Notice that it is part of a series of images that add a visual frame to the blog and that it has a gray-colored area around it. We can’t just replace the image wholesale unless we want to fiddle with the rest of the design and related images; instead, we’re going to alter that image.

Read the entire article »

Other articles in the Theme Customization series:

The Ultimate Pinging Solution

Did you realize that anytime you edit a post after publication WordPress pings any services you have listed in your ping settings… again?! If you’re like me, you make the odd change here and there. Or worse, you find yourself in the position I was just in where I have had to go back and edit some of my older posts after finally upgrading my blog and discovering how much I detested the Autop filter.

I was madly pinging the blogosphere every time I saved during an edit. “Hello World from Stylehack… again! Here are ancient posts I just know you want to read!” [Yeah yeah, they're old but still have some valid content so I didn't want to just delete them.]

Okay, enough said — the scenario for disaster is set (a.k.a. spamming ping services).

Fortunately, I found a great solution, the UP Smart Update Pinger plugin!

Read the entire article »

Stylehack © 2008 - Becky Peters :: All Rights Reserved
Powered by WordPress