Skip Navigation

[Resolved] Display make and model from parent/child taxonomy

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Noman 7 years ago.

Assisted by: Noman.

Author
Posts
#509072

I am trying to: Show the parent/child relationship in a custom taxonomy. I have a taxonomy that is set up with Make-->Model as Parent-->Child
When I display a piece of content, I want to display "Parent Child" in that order.
So if I picked "Lull" and its child "644B," I want to show Lull 644B on the view template for that content.

I visited this URL: hidden link

I expected to see: On the line that says "Make and model:" I wanted to see Lull 644B

Instead, I got: 644B, Lull

#509286

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Christopher,

Thank you for getting in touch with us. You can display and adjust the appearance of it with a shortcode like this and order it by Ascending or Descending.

[wpv-post-taxonomy type='model' separator=' ' order='desc']

- Please make sure to replace ‘model’ with your taxonomy name in the above shortcode.

- I believe you are using it inside a Content Template for single page. It can also be used the same way in View. I hope this will solve the issue.

Thank you

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.