Navigation überspringen

[Gelöst] Displaying the count of a custom post type within a specific category

This support ticket is created vor 10 months, 1 week. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

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

Zuletzt aktualisiert von onwebdev vor 10 months, 1 week.

Assistiert von: Minesh.

Author
Artikel
#2817551

Hello,

I was trying display the count of a specific post type ( example - Hotels) , falling within a specific category ( example = mid-range ). The categories are being used by multiple custom post types.

Will appreciate any help.

Thanks

#2817565

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know where exactly you want to display the post count belongs to specific category?
- On any archive or page or post?

#2817566

Hello. In the category archive pages .

#2817573

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Can you please tell me the term you mentioned "mid-range" is part of what taxonomy/category?

And you want to display the post count when you are on "mid-range" taxonomy archive page?

#2817682

I created a function, and used a plugin to convert it into shortcode