Listing All Siblings of Current Custom Taxonomy
-
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
— ModernI’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
- The topic ‘Listing All Siblings of Current Custom Taxonomy’ is closed to new replies.