Skip Navigation

[Resolved] Display Post Type Text

This support ticket is created 4 years, 6 months 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
- 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by columD 4 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#1693317
603411c690d2fe063adc5cfdbc41693b.png

How to display post type text?

Example:
Post type = Flower Store

I've tried single field > standard field > Current post > Post type
But this displays the slug.
Result: flower-store

I've tried using shortcode [wpv-archive-title]
But it displays extra word.
Result: Archives: Flower Store

I want to end the result to be "Flower Store" only.

Thanks for your help.

#1697039

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Instead of using the single field block, Can you please try to add "Fields and Text" block and within the fields and text block try to add the following shortcode:

[wpv-post-type show="single"]

I hope the above solution will help you to resolve your issue.

#1705931

My issue is resolved now. Thank you!