Site logo

Archived topic

Page hero Element - showing current archive's tag

3 replies · Started by Dan on November 30, 2022

Viewing posts 1–4 of 4

I have created a 'Page hero' element and set it up to display on archive pages (including tag and category archives)
I would like to add a heading which will display the current tag that was selected for viewing.
When using dynamic data I only have the option to list the current post's tags but not the current tag archive tag.
So if the url is: http://www.mysite.com/tag/trucks
I would like the word 'Trucks' to show up in the header.

How can I make that work?

Thanks,
Dan

Hi Dan,

Isn't the tag name the H1 title of the tag archive page? Setting the headline block's dynamic data to the title should work.

You are right!

Thank you!

No problem :)

This archived topic is closed to new replies.