Support » Fixing WordPress » Walking up Custom Taxonomy hierarchy

  • Hey, this one has me truly stumped!

    I have a custom post type ‘Stores’ which has a custom taxonomy ‘Store Location’

    ‘Store location’ is a hierarchy of places, ie:

    Asia
    – Thailand
    — Bangkok
    — Sathon
    — Chang Mai

    When I create new ‘store’ I pick its ‘store location’ (in this case sathon)

    When I come to display that post on the front end I want to display the hierarchy including all its parents ie;

    Asia > thailand > bangkok > sathon

    I cant for the life of me work out how to walk through the tree backwards.

    Any help appreciated, its had me stumped for aggggges

    cheers

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Walking up Custom Taxonomy hierarchy’ is closed to new replies.