WordPress.org

Ready to get started?Download WordPress

Forums

How can I control my children ? (7 posts)

  1. DaveProut
    Member
    Posted 9 years ago #

    When I select a category to display its posts, the posts of the child categories are also displayed. Is there a way to switch this on and off. Sometimes I like to be with my children, and sometimes I like to be alone !
    Dave

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    http://wiki.wordpress.org/wp_list_cats
    "children - boolean - 0 or 1. Whether you want to hide or show the children of the main categories (top categories only). What this really does (when list=1) is turn on/off a hierarchical view, where children are indented under their parents. (default is 1)"

  3. OperaManiac
    Member
    Posted 9 years ago #

    and i thought i should suggest a child counsellor... tsk tsk :p

  4. codergurl
    Member
    Posted 9 years ago #

    just let 'em run wild ;)

  5. NuclearMoose
    Member
    Posted 9 years ago #

    Three beatings a day, whether they need it or not! ;)

  6. OperaManiac
    Member
    Posted 9 years ago #

    i worry for ur kids moose. :p

  7. TechGnome
    Moderator
    Posted 9 years ago #

    I don't think any of those are what was asked for.... wp_list_cats shows the category LIST.... I think he's past that point, but when VIEWING the category, sometimes he wants the posts of child cats shown and other times not.
    I don't know if there is a way to do that.... If you get it figured out, let me know, since that's something I could use.
    TG

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.