Blogs

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

【2025】Shopifyアプリでブログ記事に目次を表示する方法

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|Shopify app stores

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
Margins Adjustable margin settings for all sides
Maximum Width Setting for maximum table of contents width
Colors Detailed color settings

(Customizable items in the paid plan)

テーブル

Item Description
Hide Button Settings for toggle button visibility and text
Initial Display Lines Number of lines to show on first access
Hide Branding Option to hide RuffRuff App by Tsun branding
URL Fragment Choose fragment generation rule:
・Numbering: Generate numbering id ('ruffruff-table-of-contents-1', 'ruffruff-table-of-contents-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 Blog posts

View all
Shopifyでタグ一覧やタグ絞り込み機能を導入する方法

Shopifyでタグ一覧やタグ絞り込み機能を導入する方法

Shopifyでのタグ一覧表示と絞り込み機能の実装方法を解説。テーマ機能、アプリ導入、コードカスタマイズの3つのアプローチから、ストアに最適な方法を選べます。RuffRuff タグ一覧アプリを使った具体的な設定手順も詳しく紹介。商品やブログの整理に役立つタグ機能を、プログラミング知識不要で導入できます。

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

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

Shopifyストアのタグ管理を効率化!「RuffRuff タグ一覧」「シンプルブログタグ絞り込み」「クイックタグ検索」の3つのアプリを徹底比較。料金、機能、導入のしやすさから最適なタグ一覧アプリを選択するためのガイド。

【2025】Shopifyアプリでブログ記事に目次を表示する方法

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

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...

【2025】Shopifyのブログ記事に著者プロフィールを表示する方法

How to Display Author Information on Shopify Blog Posts

How to Display Author Information on Shopify Blogs: A Comprehensive Guide! We compare three methods - standard features, source code customization, and app integration - to help you find the optima...

購入制限ブログ

View all
Shopifyでゲスト購入を許可した状態で、ブラックリスト会員に購入制限をかける方法

Shopifyでゲスト購入を許可した状態で、ブラックリスト会員に購入制限をかける方法

Shopifyでゲスト購入を許可したまま、ブラックリスト会員の購入を効果的に阻止する方法を解説します。RuffRuff 注文制限アプリの利用方法や設定手順を詳しく説明し、通常会員との購入条件の違いや、実際の操作手順も紹介します。ビジネスの安全性を高めるために、ぜひご覧ください。

Shopifyで『特定カテゴリの商品と一緒でしか購入できない購入制限』の実施方法

Shopifyで『特定カテゴリの商品と一緒でしか購入できない購入制限』の実施方法

Shopifyで特定商品の購入制限を設定する方法を解説。RuffRuff注文制限アプリを使用して、スノーボードカバーをスノーボードと同時購入必須にする設定手順を詳しく説明します。実例を交えた具体的な設定ガイドです。

Shopifyの購入制限アプリ 9選|料金プランや機能を徹底比較

Shopifyの購入制限アプリ 9選|料金プランや機能を徹底比較

Shopifyストア運営に役立つ購入制限アプリ9選を徹底比較!個数制限や金額制限、重量制限、顧客制限など多彩な機能を持つアプリを料金や対応言語の観点から解説し、最適な選択をサポートします。Minmaxify Order LimitsやOC Quantity Breaks Order Limit、、MinMax Order Limits Limitsify、KOR 注文数量制限なども紹介

Shopifyで冷蔵配送や冷凍配送、常温配送など同じ配送種別のみ同梱許可する方法

Shopifyで冷蔵配送や冷凍配送、常温配送など同じ配送種別のみ同梱許可する方法

Shopifyで冷蔵・冷凍・常温など配送種別の異なる商品の同時購入を制限する方法を解説。RuffRuff 注文制限アプリを使用して、同じ配送種別の商品のみを同梱可能にする設定手順とノベルティなどの例外商品の設定方法を紹介します。

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

【2025】Shopifyで単品購入不可の設定を実施する方法

Shopifyで特定の商品を単品で購入できないように制限する方法を解説します。RuffRuff 注文制限アプリを使用して、同梱制限を設定する手順を詳しく紹介。顧客からの意図しない購入を防ぐ具体的な設定方法を学びましょう。

Shopifyで特定の条件下に代金引換を非表示にする方法|決済非表示アプリも紹介

How to Hide Cash on Delivery Option on Shopify

How to Hide Cash on Delivery (COD) for Specific Products on Shopify. This article introduces specific steps for flexibly controlling payment methods using the RuffRuff Order Limits app, with condit...

販売期間設定ブログ

View all
Shopifyのカウントダウンタイマーアプリ 2選|無料や日本語対応のアプリを紹介

【2025】Shopifyのカウントダウンタイマーアプリ 2選|無料や日本語対応のアプリを紹介

Shopifyで利用できるカウントダウンタイマーアプリの特徴と設定方法を解説。無料で使えるGSC Countdown Timerと日本語対応のEssential Countdown Timer Barの2つのアプリを紹介し、新商品の発売予告やセール告知に活用する具体的な手順を説明します。

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

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

RuffRuffアプリを使用して、オンラインストアでの期間限定販売を簡単に設定しましょう。販売開始前、販売中、販売終了後のメッセージをカスタマイズし、意図しない注文を防ぐアラート機能を活用することで、顧客に明確な情報を提供します。販売期間のルールを適用し、スムーズな販売プロセスを実現しましょう。

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

How to Announce Upcoming Product Releases on Shopify Using RuffRuff Selling Periods: A Complete Setup Guide

Learn how to effectively announce upcoming product releases on your Shopify store with RuffRuff Selling Periods. This guide covers everything from app installation to setup, helping you boost custo...

予約販売ブログ

View all
【Shopify】予約商品を翻訳|越境ECで様々な国で予約販売する

【Shopify】予約商品を翻訳|越境ECで様々な国で予約販売する

ShopifyのRuffRuff予約販売アプリで多言語対応を実現するための完全ガイド。予約商品の翻訳データ設定から、バッジテキスト、アラートメッセージまで、越境ECに必要な全ての翻訳手順を解説。グローバル市場での予約販売をスムーズに展開しましょう。

【Shopify】予約商品を通常商品と同時注文を制限する方法

【Shopify】予約商品と通常商品を同時に注文できないように制限する方法

Shopifyストアで予約商品と通常商品を同時に注文できないように制限する方法を解説。RuffRuff 予約販売アプリを使用した具体的な設定手順から、制限レベルの違いまで詳しく紹介。カートの動作制限によるスムーズな購入体験の実現方法がわかります。

【Shopify】予約商品を一部前払い(デポジット)で販売する方法

【Shopify】予約商品を一部前払い(デポジット)で販売する方法

Shopifyで一部前払い(デポジット)予約販売を設定する方法を解説。RuffRuff予約販売アプリを使い、注文時20%の前払いで残金は後日回収する仕組みを構築。長いリードタイム商品やキャンセルリスクの高い商品の販売に最適な設定手順を詳細説明。

【Shopify】後払い付き予約販売の完全ガイド:注文時支払いゼロで顧客満足度を高める

【Shopify】予約商品を後払いで販売する完全ガイド:注文時支払いゼロで顧客満足度を高める

ShopifyでRuffRuff予約販売アプリを使用して、予約商品の支払いを出荷前などの任意のタイミングに設定できる「後払い付き予約販売」の設定方法を解説。アプリのインストールから予約販売ルールの作成、商品への適用、注文時の表示内容、そして支払い回収方法まで、画像付きでステップバイステップで紹介しています。

【Shopify】数量を制限して予約販売する方法|1注文あたり1個まで

【Shopify】数量を制限して予約販売する方法|1注文あたり1個まで

Shopifyで1注文あたり1個までの数量制限付き予約販売を設定する方法を解説。RuffRuff予約販売アプリを使用して、商品の購入制限を実装し、人気商品の転売対策や公平な販売を実現。画像付きで初心者でも簡単に設定可能。

【Shopify】在庫が切れた時に予約販売に切り替える方法|在庫切れ後も予約受付

【Shopify】在庫が切れた時に予約販売に切り替える方法|在庫切れ後も予約受付

Shopifyで在庫切れ時に自動で予約販売に切り替える方法を解説。RuffRuff予約販売アプリの基本設定と、Shopify Flowを使った過注文防止機能付きの高度設定の2種類の導入手順をステップバイステップで紹介。在庫管理を効率化し販売機会を逃さないためのガイド。