Title: How to change some code
Last modified: August 19, 2016

---

# How to change some code

 *  [antibody](https://wordpress.org/support/users/antibody/)
 * (@antibody)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/how-to-change-some-code/)
 * Hi, I have just started working with wordpress and am tweaking the homepage. 
   I have encountered the code:
 * (‘type=post by post & limit=7’). Basically, it lists the 7 most recent of my 
   posts on my home page. I want to exclude 3 different category id’s from this 
   listing process. Can somebody be so kind as to explain to me how I can exclude
   these categories. With thanks for your kind help, Ken.

Viewing 1 replies (of 1 total)

 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/how-to-change-some-code/#post-922050)
 * If you are using the [wp_get_archives](http://codex.wordpress.org/Template_Tags/wp_get_archives)
   function, then I don’t think that there is a way to do this.
 * You could either look for an archives plugin or use [query_posts](http://codex.wordpress.org/Template_Tags/query_posts).

Viewing 1 replies (of 1 total)

The topic ‘How to change some code’ is closed to new replies.

## Tags

 * [category i.d's](https://wordpress.org/support/topic-tag/category-i-ds/)
 * [code](https://wordpress.org/support/topic-tag/code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [iridiax](https://wordpress.org/support/users/iridiax/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/how-to-change-some-code/#post-922050)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
