I’m trying to make a table for contents for my category page. What I like to do is add a anchor (jump) link to the blog links on the page.
Is there a way I can automatically add a anchor id to the title of the post?
Example page http://hamiltonbradbury.co.uk/umbrella-company/
Hey gregdickson!
Open up /enfold/includes/loop-index.php and change line 130 from this.
echo $title;
To this.
echo '<span id = "anchor_'.get_the_id().'">'.$title.'</span>';
That will add an ID to the title which you can link to.
Cheers!
Elliott
Elliot you are a rockstar!
Thank you