Skip Navigation

[Gelöst] Tag Archive header

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
How to output the current term of a taxonomy archive?

Solution:
Views doesn't have a shortcode for this currently, you would need to use a custom shortcode, as described here: https://toolset.com/forums/topic/displaying-view-by-taxonomies-url-in-the-archieve-loop/#post-1121600

This support ticket is created vor 6 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

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

Zuletzt aktualisiert von Akhil vor 6 Jahren.

Assistiert von: Nigel.

Author
Artikel
#1131418

Hi nigel.

over here is my tag archive page : its a layout : versteckter Link

As you can see the header is fetching all the series of the tags,
i just need one tag thats from url.

the rest of the tags exluding the top need to be in the other cell.
How do i achive this pls. thanks .

#1131893

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

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

How are you outputting that list of tags currently?

You may want to use the custom taxonomy shortcode I provided in an earlier thread: https://toolset.com/forums/topic/displaying-view-by-taxonomies-url-in-the-archieve-loop/#post-1121600

Otherwise what is being output may be the tags belonging to the first post shown in the archive, rather than to the current archive tag itself.

#1131896

i'm outputting using layout , visual editor cell.

#1131903

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

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

Yes, but what is in the cell? 🙂

#1131905
Tag:[wpv-post-taxonomy type="blog-tag" format="name"]   
#1131953

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

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

Then that is what is being output (https://toolset.com/forums/topic/tag-archive-header/#post-1131893), the terms of the first post in the archive results.

We plan to update the wpv-taxonomy-* shortcodes so that the context where they can be used includes archives, but for the time being you would need to use the custom taxonomy shortcode I gave you earlier.

#1134286

My issue is resolved now. Thank you!