Event category page: how to change H1 tag value programmatically?
-
Hello there,
I installed the Kadence template and I purchased Kadence Pro Block and Kadence Pro plugin.I am trying to migrate a site with thousands of articles and events (created by The Events Calendar ver. 5.12.0) from the Eventica theme to the Kadence theme (with TEC ver. 6.6.1), which I assumed was suitable for use with The Events Calendar.
I’m trying to correctly set the H1 tag value (text inserted at the top, with a red background, see this screenshot), so that for example:
– the Theatre category has H1 = “Theatre in Milan: events in the city and surroundings”
– the Exhibitions category has H1 = “Exhibitions in Milan: events in the city and surroundings”
– the X category has H1 = “X in Milan: events in the city and surroundings”I tried, without succeeding, to create a Kadence element to manage a specific category, “Concerts”: the result is shown in this screenshot: https://snipboard.io/wROl3E.jpg
Can you help me write a PHP snippet to generate the required H1 value? After all, I only need to display an H1 with the category name, within each category page, followed by the text ” in Milan: events in the city and surroundings”.
Regards,
Paolop.s. I have already written to the Kadence support team, without unfortunately getting a response relevant to my requirements.
Website URL where we can see more details: https://eventiatmilano2.netsons.org/eventi/categoria/concerti/
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.