Title: Post-Specific Page
Last modified: August 19, 2016

---

# Post-Specific Page

 *  [wraithstk](https://wordpress.org/support/users/wraithstk/)
 * (@wraithstk)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/post-specific-page/)
 * Is there any way that you could make a page for a specific category of posts?
   So on this page all posts with that category would be displayed.

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

 *  [dragonsjaw](https://wordpress.org/support/users/dragonsjaw/)
 * (@dragonsjaw)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/post-specific-page/#post-1409413)
 * A froum
    [thread](http://css-tricks.com/forums/viewtopic.php?f=10&t=6664) that
   discusses this.
 * In its most simplest form:
 * 1. He creates a template called “freebies.php”
 * 2. In that template he has a loop running to only show posts that have a category
   of “freebies”
 * 3. In the WP backend he creates a new page called “Freebies” and in the right
   sidebar selects the Freebies template that he created in step #1
 * Now when you click on the Freebies page it will list all posts that have a category
   of “freebies”, but it is not a category page (ie, not using category.php or archive.
   php).
 * Does that make sense?
 *     ```
       ?php query_posts('cat=5'); ?>
       <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
          <?php the_content(); ?>
       <?php endwhile; endif; ?>
       ```
   
 * Just need to find out what the category id# is!
 * hope that’s what you were looking for.
 *  Thread Starter [wraithstk](https://wordpress.org/support/users/wraithstk/)
 * (@wraithstk)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/post-specific-page/#post-1409675)
 * How do you find out what the category id is?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/post-specific-page/#post-1409677)
 * In code:
 *     ```
       $cat_id = get_cat_ID('events');
       ```
   
 * Or [How do I determine a Post, Page, Category, Tag, Link, Link Category, or User ID?](http://codex.wordpress.org/FAQ_Working_with_WordPress#How_do_I_determine_a_Post.2C_Page.2C_Category.2C_Tag.2C_Link.2C_Link_Category.2C_or_User_ID.3F)

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

The topic ‘Post-Specific Page’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/post-specific-page/#post-1409677)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
