Navigation überspringen

[Gelöst] display category ID instead of category name

This support ticket is created vor 6 Jahren, 1 Monat. 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)

Dieses Thema enthält 0 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von alexanderL-2 vor 6 Jahren, 1 Monat.

Assistiert von: Waqar.

Author
Artikel
#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