WordPress: Adding heading on category page
This tutorial will show you how post unique heading/images for each category page, I myself had problems trying to figuer this out at first, I’ve done many searches at WordPress forums, and I really didn’t find a direct answers…Q: What is this?
A: This method will allow you to post strick heading on each catagory page, for an example: check out my Mobile Theme catagory page, you will notice I have an Ad very top.So let’s start:
1. Make new Categories by loging into your Admin > Manage > Categories > Add New
2. Fill in the Category name, discretion etc and click on [Add Category]
3. You should now find the new caregory page on the list, to your left hand you should pay attention to the [ID].
I highlighted in RED, in this case my ID number is 37.
4. Let put a heading for this category page, using an FTP, get into your theme directory This should be /wp-content/themes/THEME NAME/
5. Open Index.php using an HTML/Php editor and copy all its code
6. Do not save, just close Index.php, but make sure you copied the codes
7. In your Theme Folder which should be something like /twp-content/themes/THEME NAME/ (just a reminder) Make a new page
8. This is the most impotent part; NAME this page category-##.php, in this case I’ll name it category-37.php
Why 37? go back to step #3 and you notice my category ID number was 37
9. Now open this new page you just created using any HTML or PhP editor, and PASTE the codes you copied from Index.php
Look at the very top of the code (around line 1) you will notice:
<?php get_header(); ?>
<div id=”content”>———ADD ANY THING YOU LIKE HERE ——–
<?php if (have_posts()) : ?>
10. Now hit Save, and you will find this heading on your category page 37. Do this for any category you create.*Your welcome to link to this tutorial. Please do not post this tutoral anywhere else.*
This had been tested on Wordpress Version 2.3.1
Enjoy
Rubayath



RM Templates Free Templates is licensed under a Creative Commons Attribution-No Derivative Works 3.0 United States License.
You may modify any templates, but do not redistribute any work of RMTemplates.com/Purtemplates.com
Copyright © 2004-2008 Rubayath Media LLC.
Copyright@rmtemplates.com