Skip Navigation

[Resolved] Cannot get custom taxonomy slug or URL from custom post type

This support ticket is created 3 years, 1 month 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

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

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 3 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#2378581

Tell us what you are trying to do?
Display a custom post type and have the taxonomies, article_category and article_source, be links in the meta data section of custom post page. I can get it to display the name of the taxonomy, but when I try to get the URL or slug, it shows up blank.

Is there any documentation that you are following?
No... just my knowledge of WP and working with Meta Box previously.

Is there a similar example that we can see?
Here's a screen recording: hidden link

What is the link to your site?
Example page: hidden link

#2378645
insert-taxonomy.png

Hi,

Thank you for contacting us and I'd be happy to assist.

To add a taxonomy term links, you can add a "Fields and Text" block instead of a paragraph block. This block will give you more control over how you'd like these terms to show, as can be seen in the attached screenshot.

You can also manually generate the shortcode "wpv-post-taxonomy" for the taxonomy terms, as explained in this shortcode reference:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-taxonomy

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar