Article table of contents
Last updated
Was this helpful?
Navigate to Settings > Custom data > Blog posts
Click Add definition
In the name field type "Table of contents"
Ensure the namespace and key field is custom.table_of_contents
Click Select type and select "Single line text"
Select List of values
Click save
Navigate to the blog post you'd like to update
In the Shopify theme editor navigate to the blog post template
Click Add block under Article main
Search and select "Table of contents"
In Shopify navigate to the blog post you'd like to update
Click the "Show HTML" icon on your blog content
Last updated
Was this helpful?
Was this helpful?
<h1 id="your-heading-text">Your Heading Text</h1>