Support » Requests and Feedback » FORCE REQUEST!!! query_posts(exclude)

  • 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)
  • 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)

    (@otto42)

    WordPress.org Admin

    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

    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)

    (@otto42)

    WordPress.org Admin

    Use of category_name is actually not recommended because it requires extra database queries, to get the ID of the category.

    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.

    Otto are you competent to shout this input to WP Team?
    I see you are a Moderator..

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    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 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.

    thanks.. otto 🙁

    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)

    (@otto42)

    WordPress.org Admin

    Heheh… Not all the discussions are technical in nature.

    I posted something there to help get a conversation started around these lines. 🙂

    Thanks alot OTTO!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘FORCE REQUEST!!! query_posts(exclude)’ is closed to new replies.