WordPress.org

Ready to get started?Download WordPress

Forums

WordPress - Custom Taxonomy - Customize Loop (1 post)

  1. Kruncher
    Member
    Posted 3 years ago #

    I have a custom taxonomy and have created a custom template page "taxonomy-gallery.php".

    This pretty much does what I need, but I have one minor issue.

    The loop is showing

    [root category]

    A
    --> B
    --------> C
    ---> D
    ---> E
    F
    ---> G

    I need it to show only direct descendants:

    [root category]

    A
    F

    I had a look at the query_posts function, but I cannot find a way to specify only direct descendants.

Topic Closed

This topic has been closed to new replies.

About this Topic