In a single submit, I’m eager to show the hierarchical posts classes, with hyperlinks to the kid subcategories solely.
For instance, for instance a submit is concerning the film Star Wars – I wish to show the next hierarchically as proven beneath:
-Actors (most important class – simply show however no hyperlink by way of to class web page)
–Harrison Ford (subcategory – hyperlinks by way of to the class referred to as “Harrison Ford”)
–Mark Hamill (subcategory – hyperlinks by way of to the class referred to as “Mark Hamill”)
-Director (most important class – simply show however no hyperlink by way of to class web page)
–George Lucas (subcategory – hyperlinks by way of to the class referred to as “George Lucas”)
I’ve tried many various code snippets however they appear to maintain displaying each class – I’m eager to show solely the classes associated to the one submit.
Any assistance on this might be a lot appreciated.
Thanks!