Title: FORCE REQUEST!!! query_posts(exclude)
Last modified: August 19, 2016

---

# FORCE REQUEST!!! query_posts(exclude)

 *  [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/)
 * IT’S BEEN YEARS!!! WHY IN THE HELL THERE’S NO **QUERY_POSTS EXCLUDE** BY **CATEGORY_NAME??**
   WHEN THERE IS INCLUDE WITH CATEGORY_NAME?
 * SORRY FOR THE CAPITAL LETTER! I’M IN DEMO MODE!!
    PHEW! IT’S SUPPOSE TO BE SIMPLE
   LOGIC..

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

 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744150)
 * worse!! WP 2.5 not showing category_ID!!! (i know.. just hover the link), but
   what the use hiding it if category_name not to be exposed well?
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744157)
 * Check this plugin:
    [http://wordpress.org/extend/plugins/reveal-ids-for-wp-admin-25/](http://wordpress.org/extend/plugins/reveal-ids-for-wp-admin-25/)
 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744165)
 * hi otto..
    i don’t mind hover my category to see the ID.. don’t need a plugin
   to do it..
 * main subject here about exclude category_name in query_post(),
    why it’s not 
   on the parameters.
 * Do you know why?
    thanks
 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744169)
 * addition..
    the category ID parameter is **cat**. the category name parameter
   is **category_name**.
 * why not go strict and simple:
    **cat_ID cat_name
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744170)
 * Use of category_name is actually not recommended because it requires extra database
   queries, to get the ID of the category.
 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744174)
 * ic..
    but I think the category_name will simplify modifying process, since it
   created by us.. but with category ID is choking it.
 * for example developing custom template in localhost for testing purpose. I hate
   to change the category ID when it’s online from scratch.
 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744178)
 * Otto are you competent to shout this input to WP Team?
    I see you are a Moderator..
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744182)
 * I do see your point, but that’s a more long term sort of thing. I would not expect
   it to be changed anytime soon. At least not until the query system gets an overhaul.
 * If you have a request for a specific enhancement to the code, then discussing
   it on the [wp-hackers mailing list](http://codex.wordpress.org/Mailing_Lists)
   would be a good place to start. Once people debate it a bit and offer input, 
   then it can be brought up on the bugtracker as an enhancement.
 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744191)
 * thanks.. otto 🙁
 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744212)
 * O no no no..
    on second thought.. after saw what they talking about.. i’m no 
   programmer.. I can’t stand it.. 🙂
 * So please somebody bring this to them..
    thank’s alot..
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744233)
 * Heheh… Not all the discussions are technical in nature.
 * I posted something there to help get a conversation started around these lines.
   🙂
 *  Thread Starter [Indojepang](https://wordpress.org/support/users/indojepang/)
 * (@indojepang)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744285)
 * Thanks alot OTTO!

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

The topic ‘FORCE REQUEST!!! query_posts(exclude)’ is closed to new replies.

## Tags

 * [exclude](https://wordpress.org/support/topic-tag/exclude/)
 * [query_posts](https://wordpress.org/support/topic-tag/query_posts/)

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 12 replies
 * 2 participants
 * Last reply from: [Indojepang](https://wordpress.org/support/users/indojepang/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/force-request-query_postsexclude/#post-744285)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
