Title: category-template.php
Last modified: August 20, 2016

---

# category-template.php

 *  [Patriota](https://wordpress.org/support/users/patriota/)
 * (@patriota)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/)
 * Is there anyway that i could use that template or change it for just one page?
   
   I am trying to create a A-Z list category in one page that will search for all
   sub cat. inside the cat A for example.
 * Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [PremiumWP](https://wordpress.org/support/users/premiumwp/)
 * (@premiumwp)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/#post-2613545)
 * The information here might help: [http://codex.wordpress.org/Category_Templates](http://codex.wordpress.org/Category_Templates)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/#post-2613548)
 * possibly [http://codex.wordpress.org/Pages#Page_Templates](http://codex.wordpress.org/Pages#Page_Templates)
 * your category-template.php might already be a page template (?)
    you could paste
   the full code of it into a [http://pastebin.com/](http://pastebin.com/) and post
   the link to it here – see [http://codex.wordpress.org/Forum_Welcome#Posting_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
 *  Thread Starter [Patriota](https://wordpress.org/support/users/patriota/)
 * (@patriota)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/#post-2613634)
 * Thanks guys for your help!
 * I’ve read both pages and it looks a bit confusing for me, i will re-read it until
   i completely understand it.
 * Based on premiumwp’s link, i believe now that my theme doesn’t use the category-
   template.php or category.php i haven’t found them in my theme’s folder so i assumed
   that it use the archive.php, still a bit confused with that =).
 * alchymyth, here it’s:
 * Category-template.php: [http://pastebin.com/L2hBpFjR](http://pastebin.com/L2hBpFjR)–
   This one is located at /wp-includes.
 * Archive.php: [http://pastebin.com/rXG8RwCB](http://pastebin.com/rXG8RwCB) – This
   one is located inside my theme’s folder.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/#post-2613647)
 * don’t edit any templates in the /wp-includes folder – these are wordpress core
   files and should be left alone…
 * do you want a page which lists all categories (A-Z) with their respective sub-
   categories?
 * (something [like this](http://www.transformationpowertools.com/wordpress/hierarchical-category-list-with-post-titles),
   just without the post titles?)
 * possibly try to use this code [http://pastebin.com/TTvYPKPH](http://pastebin.com/TTvYPKPH)(
   maybe adapted) in a page template [http://codex.wordpress.org/Pages#Page_Templates](http://codex.wordpress.org/Pages#Page_Templates)
 * it might be useful if you could post the name of the theme you are working with.
 *  Thread Starter [Patriota](https://wordpress.org/support/users/patriota/)
 * (@patriota)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/#post-2613648)
 * alchymyth thank you for you help mate!
 * I want to make a page like more or less like this:
 * [http://xbox360.ign.com/index/games.html](http://xbox360.ign.com/index/games.html)
   
   [http://www.gamespot.com/games.html?platform=1029&mode=top](http://www.gamespot.com/games.html?platform=1029&mode=top)
 * That A-Z menu. I already have organized all my categories on A-Z and their respective
   subs, so if i click lets say letter A it will show my only the subs titles.
    
   I will read the codes u just posted there as soon as i get home.
 * Once again thank you!
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/#post-2613653)
 * looking at your example sites, I think my code suggestion will not work 🙁

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘category-template.php’ is closed to new replies.

 * 6 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/category-templatephp/#post-2613653)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
