Skip Navigation

[Resolved] How to display the product cat name

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to display category or taxonomy term name on taxonomy or category archive

Solution:
You can use view's shortcode [wpv-taxonomy-archive info="name"] to display taxonomy term name on taxonomy archive.

Relevant Documentation:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#vf-154477

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

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Pat 6 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#608693

Pat

Hello,

I have site with Tolset +WC and have created an archive page to display product categories.
Until now that's OK.
What I need now, is to display the product category title. So, I have a menu that lists all product categories and for example, I have this url : hidden link

If I place [wpv-post-taxonomy type="product_cat"], then, I'm getting the product cat desired, but also all the product cats that are linked to the list of products.

What I would like to have is only cat1 (the one that have been calls by the menu) and not the others. Is there a way to do this?

Regards
Pat

#608827

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

What if you try to display the your category title using shortcode: [wpv-taxonomy-archive info="name"]

More info:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#vf-154477

#609202

Pat

OOOopppsss
Sorry Minesh, I've got a cold this week and it seems this is limiting my thinking possibilities !
Just a remark : this shortcode (and some others), are not available when you work from the Toolset editor. Is it normal?
Regards
Pat

#609241

Minesh
Supporter

Languages: English (English )

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

Yes - its normal.

I hope you recovered and have a great day ahead!!

#609247

Pat

OK thanks Minesh