Skip Navigation

[Gelöst] Show custom taxonomy fields in page with a view with url paramter

This support ticket is created vor 7 Jahren. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 18 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 6 Jahren, 11 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#597009

Please provide the credentials of your website in below private detail box, also point out the problem page URL and view URL, I need a live website to test and debug.

#597083

Thanks for the details, I have done below modification in your website:
1) Edit the view "catsisubcats2"
versteckter Link
in section "Elemento de bucle en catsisubcats2", change the codes from:

[wpv-taxonomy-id]

To:

[wpv-taxonomy-slug]

So it will be able to pass term's slug to the target page.

See the result here:
versteckter Link

Please test again, check if it is fixed.

#597089

Hi again Luo. It's not working.

That page now lists all products of all subcategories and term field of all subcategories, not products and term field of fibras de madera. Pictures of wood are fibas de madera. The first and last products aren't fibras de madera.

I changed in view listado productos 2 parameter url from "tipo" to "tipo-slug", and products are listed right, but term field didn't work, because the view
Subcat text have filter by url parameter id

I set a new url in catsisubcats2 view: [url]/listado-productos-web?tipo-slug=[wpv-taxonomy-slug]&tipo=[wpv-taxonomy-id] and now I think product's page are working right.

I must test it.

I'll close this topic if all is working right. Gimme some time

Thanks a lot for your help!!!

#597538

Yes, you are right, it is only an example, you will need to customize according to your website settings. please update this thread if you still need assistance for it