Title: &#036;cat problem
Last modified: August 18, 2016

---

# $cat problem

 *  [mrmin123](https://wordpress.org/support/users/mrmin123/)
 * (@mrmin123)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/036cat-problem/)
 * I read that if I wanted a page to display only posts from certain category(ies)
   I should use the $cat = x,y,z,etc; line to show posts from categories x, y, z,
   etc… I tried to do this, but upon doing so, the page shows every single posts
   from those categories, instead of the latest number of posts from those categories
   I specified in the ‘Show the most recent # posts’ in the WordPress Options > 
   Reading page. How do I set up the page so that it only shows those number of 
   posts from those certain categories?

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

 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/036cat-problem/#post-64288)
 * A quick search led to the answer : [http://wordpress.org/support/6/5670](http://wordpress.org/support/6/5670)
   
   🙂
 *  Thread Starter [mrmin123](https://wordpress.org/support/users/mrmin123/)
 * (@mrmin123)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/036cat-problem/#post-64289)
 * woah. and i thought i searched for everything. ;[
    thanks for the fix!

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

The topic ‘$cat problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mrmin123](https://wordpress.org/support/users/mrmin123/)
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/036cat-problem/#post-64289)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
