Whilst doing some client work recently I needed to display a slightly different archive for each category. The solution, I thought, was to throw if statements (ie if is category archive for ‘Cheese’ then use, else if is ‘Bananas’ use this etc etc) at the category.php file. The trouble was, after doing this twice, it became clear that it was getting very quickly impractical.
Categories
Highest Rated Tutorials
- Link building SEO trick
- How to stop Splog Registrations in WordPress MU
- How to setup a PHP Error log for WordPress
- WordPress Theme Hacks
- Using actions in your themes
- Manipulate images from WordPress post’s content with Regular Expressions
- Disable WordPress Feed
- Highlight WordPress Category when on a Single Post
- Set A Custom Gravatar Image In 2.7
- Styling Author Comments With WordPress 2.7



Processing your request, Please wait....



