Wednesday, August 3, 2022
HomeWordPress DevelopmentShow hierarchical classes/sub-categories for a single submit solely

Show hierarchical classes/sub-categories for a single submit solely


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!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments