Sauter la navigation

[Résolu] Insert link to parent taxonomy

This support ticket is created Il y a 5 années et 2 mois. 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par jamesR-13 Il y a 5 années et 2 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1541123

Tell us what you are trying to do? I need a link to a parent taxonomy at the end of a list of taxnomies.

The site/page is: lien caché

Each Parent category has a list of child categories under it. At the end of the list is the word "more..." I would like to link this to the parent category archive page.

#1541335

If you are using a View to display the list of child terms inside a View of the parent terms, you can pass the parent taxonomy term archive URL into the View of child terms using a shortcode attribute:

[wpv-view name="Your child terms View" parenturl="[wpv-taxonomy-url]"]

Then inside the child term View, you can access that parenturl attribute using the wpv-attribute shortcode:

<a href="[wpv-attribute name='parenturl']">More...</a>
#1541421

My issue is resolved now. Thank you!