I have this in a temple:
<a class="slide-link" href="#tab-<?php the_ID(); ?>">
It shows links on my pages on hover as xxxxx.com/#tab-453
I want it to show the actual post name not the ID.
<a class="slide-link" href="#tab-<?php the_ID(); ?><?php echo the_title(); ?>">
But that shows xxxxxx.com/#tab-453 pinotage wine
If I replace the
Any help greatly appreciated.