Skip to content
Search
Table of Contents

3 Ways to Automatically Display a Table of Contents in Shopify Blog Posts | Free App Setup Guide

Shopifyのブログ記事に目次を自動表示|3つの方法と無料アプリの設定手順

Note: This article has been translated using a translation service. Therefore, please understand that it may not be accurately translated.

In this article, I will explain in detail how to display a table of contents in Shopify blog posts.The table of contents below is also displayed using the Shopify app RuffRuff Table of Contents.

3 Ways to Display a Table of Contents in Shopify Blog Posts

Customize the Source Code

First, there's the method of customizing Shopify's source code. The advantages of using source code customization include being able to display it for free and having the freedom to customize the design. However, the disadvantages are that it requires knowledge of programming languages like HTML, CSS, and JavaScript, and there's additional work involved when upgrading or changing Shopify themes.

Use Shopify Apps

Next is the method of using Shopify apps. The advantages of using Shopify apps include easy implementation and design customization without requiring programming knowledge. The disadvantage is that there may be a monthly fee of a few dollars. However, RuffRuff Table of Contents can be used starting from free.

Use Shopify Themes with Table of Contents Feature

Lastly, there's the method of using Shopify themes that include a table of contents feature. Since this feature doesn't exist in free themes provided by Shopify, you'll need to look for it among paid Shopify themes.

The advantages of using Shopify themes include not requiring programming knowledge and being more cost-effective than apps for long-term use since it's a one-time purchase. However, the disadvantages include limited flexibility in customizing the table of contents design, costs typically exceeding several hundred dollars, and the time required to find themes that support this feature.

How to Display a Table of Contents in Blog Posts Using Shopify Apps

Preparation: Install the Free App

We'll introduce how to use the Shopify app RuffRuff Table of Contents. Please install it from the link below.

Install RuffRuff Table of Contents here

RuffRuff Table of Contents

RuffRuff Table of Contents is a Shopify app that can display a table of contents in blog posts and product pages. For blog posts, you can use the free plan.

Step 1: Customize the Table of Contents Design

Click Customize in the Customize Table of Contents section

(1) Open the RuffRuff Table of Contents app

(2) Click Customize in the Customize Table of Contents section

Edit the table of contents design while checking the preview in the customization screen

(3) Edit the table of contents design while checking the preview in the customization screen

(Customizable items in the free plan)

Item Description
Table of Contents Title Title for the automatically generated table of contents
Text Alignment Choose text alignment from:
・Left
・Center
・Right
Indentation Settings for visually representing hierarchical structure
Section Lines Option to show/hide dividing lines between chapters
Headings to Use Multiple selection from:
・Heading 1
・Heading 2
・Heading 3
・Heading 4
・Heading 5
・Heading 6
Numbering Choose from:
・Numbers
・Bullets
・None
Position Choose from:
・Above the first heading
・Specify in Theme editor (Online Store 2.0 Only)
・Specify class name
Scroll Option for scroll animation when selecting table of contents items
Scroll Offset Detailed settings for stopping position when navigating
Font Size Adjustable font size settings
Padding Adjustable padding settings for all sides (top, bottom, left, right)
Maximum Width Setting for maximum table of contents width
Colors Set the background, border, section line, title, and link colors (the link hover color and the show/hide toggle button colors are paid-plan settings)

(Customizable items in the paid plan)

Item Description
Toggle Button Settings for the show/hide toggle button's visibility and text
Initial Display Lines Number of lines to show on first access
Hide Branding On paid plans, the "RuffRuff App by Tsun" branding shown at the bottom right of the table of contents is automatically hidden
Heading ID Generation Choose how the anchor ID (URL fragment) is generated:
・Numbering ID: Generate a sequential ID ('ruffruff-table-of-contents-item-1', 'ruffruff-table-of-contents-item-2', ...)
・Slug by heading title: Generate a slug from the title of the heading
Hover Style Choose from:
・None
・Underline (solid)
・Underline (dotted)

(4) Click Save

Step 2: Add App Block Where You Want to Display the Table of Contents

Select the theme where you want to display the table of contents in the Add the app to a theme section

(1) Return to the app's top page

(2) Select the theme where you want to display the table of contents in the Add the app to a theme section

(3) Click Add app block next to the blog post

Click Add section (or Add block) on the left of the theme editor

(4) Click Add section (or Add block) on the left of the theme editor

(5) Select the Apps tab from the section list (or block list)

(6) Select the app named Table of Contents

Confirm that the table of contents appears in the blog posts

(7) Confirm that the table of contents appears in the blog posts

Note: The red text message only appears in the theme editor and won't be visible to your customers.

(8) Click Save

This completes the setup.

 

Troubleshooting Guide for RuffRuff Table of Contents Setup

Problem 1: Cannot Access Blog Template

The cause might be that there are no published blog posts. Access "Shopify > Blog" and check if there are any blog posts with published status.

Problem 2: Table of Contents App Block Is Not Displaying

When the "Table of Contents" app block is not displaying on your blog page, there could be several main causes:

Cause 1: RuffRuff Table of Contents is Not Installed

Please install "RuffRuff Table of Contents" from the Shopify App Store.

Cause 2: Not Accessing the "Blog Post" Template

Here's how to access the "Blog Post" template:

(1) Open the Theme Editor

(2) Select "Blog Post" template from the dropdown menu at the top center of the screen

Note: You need to access the template for "individual blog posts" rather than the overall blog.

Cause 3: Your Shopify Theme is Not Compatible with Online Store 2.0

Check if your Shopify theme is compatible with Online Store 2.0. If not, please refer to the official help page below for setup instructions:

Initial Setup | RuffRuff Table of Contents Help Center

Problem 3: Table of Contents Not Showing After Adding App Block

There could be the following causes:

Cause 1: No Headings in Blog Post

The table of contents is automatically generated using headings (e.g., <h1>, <h2>, <h3>). If there are no headings in the blog post or no headings that can be used for generating the table of contents, it cannot be created.

In this case, please rewrite the blog post using headings that can be utilized for the table of contents.

Cause 2: Cache Issues

Due to caching on the Shopify platform, newly added table of contents might not display immediately.

In this case, please clear your browser cache or check again in incognito mode.

Cause 3: Blog Post Created Using Page Builder Apps

RuffRuff Table of Contents only supports blog posts created with Shopify's native blog editor. It does not support posts created with Pagefly, Gempage, or other page builders.

In this case, you need to recreate the post using Shopify's native blog editor.

Benefits of Displaying Table of Contents in Shopify Blog Posts

There are many benefits to displaying a table of contents:

Improves Blog Post Readability

Displaying a table of contents helps readers understand the overall flow of the article and quickly access their desired content. This feature is particularly beneficial for longer articles.

Clearer Article Structure

Through the process of creating a table of contents, writers can organize the logic and structure of their entire article. This results in a logically constructed article that's easier for readers to understand.

Positive SEO Impact

Links within the table of contents function as internal links. This makes articles more likely to be favorably evaluated by Google's search engine. Additionally, the table of contents indicating structured content may be utilized as rich snippets in Google search results (links displayed in search results), improving CTR (Click-Through Rate).

Reduced Bounce Rate

By utilizing a table of contents, readers can easily access sections they're interested in, potentially reducing the rate at which they leave mid-article. As a result, the overall site dwell time increases.

Mobile-Friendly Article Creation

On mobile devices like smartphones, continuously scrolling through long articles can be burdensome for users. By implementing a table of contents, users can easily navigate to their desired sections, enabling mobile-friendly article creation.

Conclusion

By displaying a table of contents in your Shopify blog posts, you can achieve numerous benefits including improved reader convenience, SEO effectiveness, and clearer article structure. Particularly for long articles and content-rich posts, a table of contents serves as an essential navigation tool for readers.

From the three methods introduced in this article - Source Code Customization,Using Shopify Apps, and Using Themes with Table of Contents Functionality - choose the one that best fits your skills, budget, and objectives.

If you're looking for an easy and flexible way to implement a table of contents, we recommend using the free RuffRuff Table of Contents app. This allows you to add and customize tables of contents without any programming knowledge.

Utilize tables of contents to create attractive and easy-to-understand blog posts that provide a better user experience for your readers!

Shopify ✕ Discount

View all

How to Set Up Discounts on Subscription Products by Membership Rank in Shopify

Learn how to vary subscription prices by membership rank using Shopify Subscription. Using the RuffRuff Order Bonus app, this guide walks through — with screenshots — how to automatically apply a t...

【2026年最新】Shopifyディスカウント施策17選|無料の割引機能からアプリまで、売上UPとリピート促進を実現

[2026 Latest] 17 Shopify Discount Strategies | From Free Discount Features to Apps — Boost Sales and Drive Repeat Purchases

The complete guide to Shopify discount strategies. From free built-in features to advanced apps, this article covers 17 strategies that boost sales and drive repeat purchases at the same time. Expl...

How to Set Up Volume Discounts on Shopify | Simple Bulk-Purchase Discount Settings

This article explains how to set up volume discounts (bulk-purchase discounts) on Shopify using the easy-to-configure Shopify app "RuffRuff Order Bonus."

How to Set Up Tiered Shipping Discounts Based on Cart Quantity in Shopify | Free Shipping or Half-Price Shipping Based on Item Count

This article clearly explains, step by step, how to use the Shopify app "RuffRuff Order Bonus" — which is easy to use with simple settings — to set up half-price or free shipping when customers pur...

How to Set Discount Rates by Membership Rank in Shopify | Discounts Using Customer Tags

Learn how to set up membership-rank discounts using the simple, easy-to-configure Shopify app "RuffRuff Order Bonus." This guide walks through the setup steps in detail for applying tiered discount...

How to Offer Free Shipping Exclusively for VIP Members on Shopify | Simple Setup for Free Shipping When Customers Have the VIP Customer Tag

Boost customer loyalty by offering free shipping exclusively to VIP members! This article gives a beginner-friendly explanation of how to set up shipping discounts using customer tags with the easy...

Shopify ✕ Pre-order

View all
Shopifyで期間限定セールを実施する3つの方法 - 純正機能からアプリ活用まで

Shopify Limited-Time Sale Guide: Comparing and Explaining 3 Methods

A thorough guide to the three ways to run a limited-time sale on Shopify. Compares the built-in feature, manual setup, and dedicated apps, along with the pros and cons of each and how to use RuffR...

ShopifyでVIP会員限定販売を実装|RuffRuffアプリで完全ガイド

Implementing VIP Member-Only Sales on Shopify | The Complete Guide with RuffRuff Apps

A detailed guide to implementing VIP member-only sales on Shopify. A complete step-by-step setup guide using the RuffRuff Order Limits and RuffRuff Pre Order apps. Boost customer loyalty and increa...

Shopifyアプリ「RuffRuff 予約販売」のカウントダウンタイマー機能の使い方・仕様

How to Use and Specifications of the Countdown Timer Feature in the Shopify App "RuffRuff Pre Order"

Explains the basic steps for installing the "Countdown Timer" feature of RuffRuff Pre Order on the product page. Assuming an Online Store 2.0 compatible theme, this briefly summarizes the key point...

【Shopify】LINE会員向けに限定販売を実施する方法|CRM PLUS on LINEとRuffRuff 予約販売を活用

[Shopify] How to Offer Exclusive Sales for LINE Members | Using CRM PLUS on LINE × RuffRuff Pre Order

Explains how to combine CRM PLUS on LINE with RuffRuff Pre Order to offer products exclusively to LINE-linked members and sell at discounted prices. This article introduces, step by step, effective...

【Shopify】LINE連携会員限定販売を実施する方法|Lipify × RuffRuff 予約販売の活用例

[Shopify] How to Run Exclusive Sales for LINE-Linked Members | A Use Case of Lipify × RuffRuff Pre Order

This article explains how to sell products exclusively to LINE-linked members on Shopify. It introduces recommended Shopify apps and shares example settings for exclusive sales and promotions for L...

ShopifyでVIP会員限定で先行販売|発売予告→先行販売→通常販売の3段階設定

Early Access Exclusively for VIP Members on Shopify | 3-Stage Setup: Coming Soon → Early Access → Regular Sale

A detailed explanation of how to run early access exclusively for VIP members on Shopify. Using the RuffRuff Pre Order app, this article introduces step by step how to implement effective member-ex...

Shopify ✕ Order limits

View all
【2026年最新】Shopify購入制限アプリ9選を徹底比較!機能・料金・日本語対応で比較

[2026 Latest] A Thorough Comparison of 9 Shopify Purchase Limiting Apps! Comparing Features, Pricing, and Japanese Language Support

A thorough 2026 comparison of 9 must-have order limiting apps for Shopify stores! From quantity, price, and selling period limits to fraud prevention, find the best app for your store based on feat...

Shopifyで複雑な条件(都道府県・重量・金額の組み合わせ)で配送方法や配送料を出し分ける方法

How to Differentiate Shipping Methods and Rates in Shopify for Complex Conditions (Combinations of Prefecture, Weight, and Price)

Explains how to set up complex shipping conditions in Shopify. Introduces the concrete steps for combining prefecture, product weight, and purchase amount to differentiate Standard Shipping and Nek...

【2025年最新】Shopifyで金額制限|おすすめ購入制限アプリも紹介

[2026 Latest] Price Limits on Shopify | Recommended Order Limits Apps Included

Learn how to set price limits on Shopify. Using RuffRuff Order Limits, this article explains in detail how to set a price limit per order, along with the steps and various applications of price lim...

【2026最新】Shopifyで同梱制御の実現方法|同梱制限に役立つShopifyアプリと設定手順も解説

[2026 Latest] How to Implement Bundle Control in Shopify | Also Covering Helpful Shopify Apps and Setup Steps for Bundle Restrictions

A thorough explanation of how to set up bundle control in Shopify! We introduce recommended apps for handling various shipping conditions, along with the steps for setting up effective bundle restr...

Shopifyで単品購入不可の設定を実施する方法|セットでないと購入不可

[2026 Latest] How to Disable Single-Item Purchases on Shopify

This article explains how to prevent a specific product from being purchased individually on Shopify. We introduce in detail the steps for setting up bundle restrictions with RuffRuff Order Limits,...

【2026最新】Shopifyで個数制限の実施方法!数量を基準に購入制限

[2026 Latest] How to Implement Quantity Limits on Shopify! Restrict Purchases Based on Quantity

Learn how to set up quantity limits on your Shopify store. Using RuffRuff Order Limits, this article provides beginner-friendly steps for easily managing quantity limits. It delivers information to...

Shopify × Sales Period Settings

View all
Shopifyで期間限定販売を実施する方法|販売期間設定アプリも紹介

[Updated for 2026] How to Run Limited-Time Sales on Shopify | Selling Period Setting Apps Compared

A detailed guide to setting up limited-time sales on Shopify, plus our recommended apps. Learn the strategies for boosting sales in a short period of time!

【2026最新】Shopifyで発売予告を実施する方法|発売予告アプリも紹介

[Updated for 2026] How to Run Release Announcements on Shopify | Recommended Apps

Learn how to run release announcements on Shopify and which apps to use. We explain concrete techniques and setup methods to build customer anticipation and boost sales on launch day, along with ti...

Shopifyアプリ「RuffRuff 販売期間」のカウントダウンタイマー機能の使い方・仕様

How to Use the Countdown Timer Feature in the Shopify App "RuffRuff Selling Periods": Setup Guide & Specifications

Learn the basic setup and usage of the RuffRuff Selling Periods countdown timer. Discover how showing the remaining time can create urgency and boost your conversion rate.

Shopify ✕ Gift

View all
Shopifyで繰り返しギフトを実現する方法|条件達成ごとにギフト商品を配布

How to Set Up a Repeatable Gift on Shopify | Give a Gift Every Time a Condition Is Met

A guide to setting up a repeatable gift on Shopify, like "1 free gift for every 3 purchased." With the Shopify app "RuffRuff Order Bonus," you can implement automatic gifts based on purchase quanti...

Shopifyで選べるギフトを実現する方法|条件達成でお客様が好みの商品を選択

How to Offer a Choice Gift on Shopify | Let Customers Pick Their Favorite Product When a Condition Is Met

A guide to setting up a "choice gift" on Shopify, letting customers pick their favorite gift when a condition is met. Learn how to use the Shopify app "RuffRuff Order Bonus" to build a novelty camp...

Shopifyで条件達成時にデジタル商品を無料プレゼントする方法

How to Give Away a Free Digital Product on Shopify When a Condition Is Met

A guide to giving away digital products as a gift on Shopify. Learn how to connect the "Digital Downloads" app with "RuffRuff Order Bonus" to automatically send buyers digital content, step by step.

How to Give VIP Customers a Free Gift on Shopify | Gift Distribution Based on Customer Tags

A detailed guide to automatically distributing a free gift to VIP customers based on a customer tag, using the RuffRuff Order Bonus Shopify app. Boost customer satisfaction and repeat purchase rate...

How to Distribute Sample Products on Shopify | Gift Distribution Based on Amount with RuffRuff Order Bonus

A guide to automatically distributing sample products on Shopify. Learn how to use the RuffRuff Order Bonus app to give away a sample product on orders of ¥10,000 or more, boosting average order va...

How to Give Away Free Gifts on Shopify | Gift Distribution Based on Quantity

A step-by-step guide with screenshots to automatically distribute free gifts on Shopify. Learn how to configure a 3-or-more quantity condition and enable your theme with the RuffRuff Order Bonus ap...

Shopify ✕ Blog

View all
Shopifyタグ一覧・絞り込み機能の導入方法|3つの実装アプローチを解説

How to Implement Tag Lists and Tag Filtering in Shopify

A complete guide to Shopify's tag feature. Implement tag list display and filtering using three methods: themes, apps, or code. We also cover setup and customization steps for RuffRuff Product & Bl...

【2025】Shopifyのタグ一覧アプリを徹底比較|表示位置やタグ絞り込み(タグフィルター)機能など

Comparing 3 Shopify Tag List Apps | Pricing, Features, and Setup Explained

Compare the Shopify tag list apps "RuffRuff Product & Blog Tags," "Simple Blog Tag Filter," and "Quick Tag Search." We break down pricing, features, and setup to help you choose the best app for yo...

Shopifyのブログ記事に目次を自動表示|3つの方法と無料アプリの設定手順

3 Ways to Automatically Display a Table of Contents in Shopify Blog Posts | Free App Setup Guide

Learn three methods to display a table of contents in Shopify blog posts (source code customization, app usage, theme usage). Step-by-step instructions focus on setup using the free app RuffRuff Ta...

Shopifyブログの著者プロフィール表示方法【3つの選択肢を比較】

How to Display Author Profiles on Shopify Blog Posts [Comparing 3 Options]

A thorough comparison of three ways to display author profile information on Shopify blog posts. We explain the features, advantages, and disadvantages of the standard feature, source code customiz...

How to Display Shopify Tag Lists by Language | Show Japanese and English Tags Separately Using an App

Learn how to display tag lists on Shopify collection pages by language. This guide provides step-by-step instructions with screenshots on using the RuffRuff Product & Blog Tags app (Regular Pla...