Skip Navigation

[Resolved] Show category info when filtering

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 3 voices.

Last updated by Luo Yang 2 years ago.

Assisted by: Luo Yang.

Author
Posts
#2491357
Capture-1.JPG
Capture-2.JPG

Tell us what you are trying to do?
I need to show category information on the archive page. And I need to load results with ajax. I created a taxonomy view but I can only filter by term id. I see that the name is passed in a url parameter how can I also pass the ID?

Is there any documentation that you are following?
No

Is there a similar example that we can see?
No

What is the link to your site?
hidden link

#2492015

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Sorry, I'm not sure what it is you are trying to do, if you could please clarify so that we can help with this.

You said you want to show category information on an archive page, but the link you shared seemingly isn't an archive, looking at the page source it appears to be a static page.

Putting questions of attributes or parameters to one side for the moment, what are you trying to display, where?

#2492031
Capture-02.JPG
Capture-01.JPG

Hi Nigel,

yes it is a page. But it includes a view with products. Above the view there is a category filter. When a category is displayed i need to show the category title and description between the filters and the product view. Using a taxonomy to create a filter is not a good solution because the results need to be updated via ajax for this design.

I hope i clarified the question and look forward to

#2492597

Hello,

You can setup the link with HTML codes manually, for example, within the taxonomy view loop, display below HTML link, like this

<a href="<em><u>hidden link</u></em>;">[wpv-taxonomy-title]</a>