Get current post taxonomy (category)
-
I’ve got so confused between all the different terms for taxonomy when reading up on wordpress.
I have a custom post type of car, I have a custom taxonomy of car manufactures. I would simply like to output/echo the manufacturer on the single post page.
Car manufactures taxonomy example:
It goes Manufacture > Model > Chassis PrefixHonda Civic EK4 EK9 Integra DC2etc…
What code should I use so
echothe taxonomy?
Looking at the above example, is there a way toechoonly the parent (Honda) or child (either Civic or EK4) if I choose to?This is the closest thing I found is this:
Display Categories Assigned to a Post
but I’m not sure how I’d specify if i wanted toechothe parent or child etcMany thanks
S
The topic ‘Get current post taxonomy (category)’ is closed to new replies.