WordPress.org

Ready to get started?Download WordPress

Forums

Listing All Siblings of Current Custom Taxonomy (1 post)

  1. brianfeister
    Member
    Posted 2 years ago #

    Hi Everyone,

    I'm wondering if there's a way to list all custom taxonomies that are siblings to the current page (e.g. in my single.php)?

    For example my taxonomy is as follows

    Categories
    -- Ancient
    +++ Greek
    +++ Roman
    +++ Indian
    -- Classic
    -- Modern

    I'd like to create a sidebar that lists all other items that have the same parent (including descendants of other siblings - e.g. "Greek" page would list "Roman" and "Indian". The "Ancient" page would include links to "Ancient >> Greek", "Ancient >> Roman", "Ancient >> Indian", "Classic" and "Modern" Pages. )

    Is this possible with custom taxonomies? How can I achieve it?

    Thanks!
    Brian

Topic Closed

This topic has been closed to new replies.

About this Topic