Skip Navigation

[Resolved] display category ID instead of category name

This support ticket is created 6 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 0 replies, has 1 voice.

Last updated by alexanderL-2 6 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#1146449

Hi,
I am trying to display the category ID of the current post. I have created a content template and used the shortcode
[wpv-post-taxonomy type="category" format="slug"]
This shortcode displays the category name but I need the ID.

How can i get the ID of the current post related category?

Thanks,
Alex