Streaming live at 10am (PST)

Anchor links for same-page content?


Googling through tutorials I can’t find a good one for creating an anchor-link table of contents for our blog posts, which would lead to sections on the same page.

Can this be done and is there a tutorial somewhere that’s clear an comprehensive?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

This can be done with custom code. Here is a tut.

Works like a charm, already fixed it. Thanks, @webdev !

1 Like

Sorry to reanimate this post, but another issue.

Even though it’s setup for Google to take the short description as a meta description, now when I have published this code it indexes the first few sentences of the table of contents (anchor links) as a meta description. Any idea how I could fix this?


Google’s algorithm decides what is most relevant to display based on many factors. Most which you have no control over.