Hi
I have a skip-to-content button on my site oxfordwestend.co.uk which works on most pages anchoring to id=’content’.
However, I need it to work on single post pages where the content is dynamically generated. eg. https://oxfordwestend.co.uk/oxford-university-development-gathers-100-inclusive-innovators-and-entrepreneurs/ .
Does anyone know how to do this? We must be mindful to only create more than one anchors/ids with the same name on each post. In other words, we must make sure that other custom posts that use the single post template but have #content added via ALB don’t clash.
Make sense?
Dominic
Don’t worry – I found a solution.