How to Create a link to a different section within a blog post?

Hello everyone,

I'm writing a long-form blog with different sessions.

I'd like to create a table of content so people can click and lead to the chapter they want to read immediately.

I wonder what's code shall I add on?

Thanks a lot! 

519 Views
Message 1 of 4
Report
1 Best Answer

511 Views
Message 5 of 4
Report
3 REPLIES 3

512 Views
Message 5 of 4
Report

Thank you! I read this one before but not solving the within blog post problem. It's more like creating a scrolling PAGE but not a BLOG.

I'd like to seek a more specific solution here.

Thanks anyway. 

505 Views
Message 5 of 4
Report

@camelliayang Anchor tags will work within any container including blog posts. However, that being said, your blog page (which holds multiple posts) should be set up with just introductory text for each post (the blog page should not display each post in its entirety). Use the "read more..." element to break up post content into above and below the fold content (only the above the fold content will appear on the blog page followed by a "read more" link that takes the visitor to the full post where they will then be able to see the particular post's table of contents which will contain the anchor links to different sections in the post). With this approach, not only will your blog page be easier for visitors to traverse but you'll be able to essentially use the same anchor tags in each post, e.g., the anchor link to the first section can be named "section1" in every blog post. The reason is that each post is presented in full only after the "read more" link is clicked on the blog page.

481 Views
Message 5 of 4
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.