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
- WordPress Theme Hacks
- Using actions in your themes
- Link building SEO trick
- Correct way of adding CSS and Javascript references to WordPress themes
- Manipulate images from WordPress post’s content with Regular Expressions
- Create a Custom RSS Feed Button With Your Readers Number
- Highlight Wordpress Category when on a Single Post
- Set A Custom Gravatar Image In 2.7
- Styling Author Comments With Wordpress 2.7
- How to combine Wufoo and WordPress for easy custom web forms
Most Rated Tutorials
- How To Create A Featured Post Section
- How to: Embed Adsense anywhere on your posts
- How to schedule posts
- 12 Wordpress SEO Tips and Advice
- How To Create A Static Page For Your Homepage
- List WordPress Users
- 10 Ways to Improve Navigation
- Build a Newspaper Theme With WP_Query and the 960 CSS Framework
- Separating Comments and Trackbacks
- query_posts() Pagination problem



Processing your request, Please wait....



