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!

ディスアカウントの関連記事

View all
Shopifyで会員限定にタイムセールを実施する方法

Shopifyで会員限定にタイムセールを実施する方法

Shopifyで会員限定タイムセールを実施する方法を解説。RuffRuff 購入特典アプリを使用してログインユーザーのみに割引を適用する手順を、画像付きで詳しく説明します。

【Shopify】特定商品と同時購入で送料無料にする設定手順

【Shopify】特定商品と同時購入で送料無料にする設定手順

Shopifyストアで特定の商品を含む注文だけ送料無料にしたい方向け。アプリを活用した設定方法を、実際の管理画面の操作手順とともに詳しく解説。送料設定の柔軟な運用が可能になります。

Shopifyで会員・非会員別の割引設定方法|会員20%OFF・ゲスト会員10%OFF

Shopifyで会員・非会員別の割引設定方法|会員20%OFF・ゲスト会員10%OFF

RuffRuff 購入特典アプリを使って、Shopifyで会員は20%OFF・ゲスト会員は10%OFFのディスカウント施策を設定する方法を解説。ログイン状況に応じた柔軟な割引施策で売上アップを実現しましょう。

Shopifyで出来るディスカウント施策まとめ|割引やクーポンコード発行に

【2025】Shopifyで出来るディスカウント施策まとめ|割引やクーポンコード発行に

Shopifyストアの売上を伸ばすためのディスカウント方法をお探しですか?本記事では「送料無料」「まとめ割」「Buy X Get Y」など、Shopifyで実施できる具体的な割引施策を目的別に徹底解説。自社に最適なクーポン活用法が見つかります。

Shopifyで先着順に割引設定する方法|売上アップにつながる早い者勝ちセール戦略

Shopifyで先着順に割引設定する方法|売上アップにつながる早い者勝ちセール戦略

Shopifyで先着順割引を簡単に設定する方法を解説。シンプル設定でお手軽に利用できるShopifyアプリ「RuffRuff 購入特典」を利用して「先着10人まで20%OFF、20人まで15%OFF」などの早い者勝ちディスカウント施策を実現。設定手順を画像付きで詳しく紹介します。

Shopifyで会員ランク別に割引率を設定する方法|シルバーは10%OFF、ゴールドは15%OFF

Shopifyで会員ランク別に割引率を設定する方法|顧客タグでディスカウント

シンプル設定でお手軽に利用できるShopifyアプリ「RuffRuff 購入特典」を利用して、会員ランク別割引を設定する方法。ブロンズ・シルバー・ゴールド会員に段階的な割引率を適用し、顧客の継続購入とLTV向上を実現する設定手順を詳しく解説。

ブログ拡張の関連記事

View all
Shopifyでタグ一覧を言語ごとに出し分ける方法|アプリを活用し日本語・英語でタグを言語別に表示

Shopifyでタグ一覧を言語ごとに出し分ける方法|アプリを活用し日本語・英語でタグを言語別に表示

Shopifyでコレクションページのタグ一覧を言語ごとに表示する方法を解説。RuffRuffタグ一覧アプリのレギュラープランとShopify Translate & Adaptを活用し、日本語・英語の閲覧者に適切なタグのみを表示する具体的な設定手順をスクリーンショット付きで紹介します。

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注文制限を使ってドコモ・au・ソフトバンクなどのメールドメインからの注文を制限する方法を紹介します。

Shopifyで予約販売時にPaidyを非表示にする方法 - RuffRuff 注文制限アプリ活用ガイド

Shopifyで予約販売時にPaidyを非表示にする方法 - RuffRuff 注文制限アプリ活用ガイド

ShopifyストアでPaidy(あと払いペイディ)を利用していて、予約商品など特定の条件で非表示にしたいとお考えですか?この記事では、「RuffRuff 注文制限」アプリを使って、カートに予約商品が含まれる場合にPaidy決済を非表示にする方法を具体的に解説します。

【Shopify】特定商品のみ銀行振込を非表示にする方法|RuffRuff注文制限アプリで5ステップ設定

【Shopify】特定商品のみ銀行振込を非表示にする方法|RuffRuff注文制限アプリで5ステップ設定

RuffRuff注文制限アプリを使ってShopifyで特定商品のみ銀行振込を非表示にする方法を5つの手順で解説。アプリインストールから決済ルール作成、トラブルシューティングまで詳しく紹介します。

特定商品やコレクションでPayPalを表示しない設定手順|Shopify×RuffRuff注文制限アプリ

特定商品やコレクションでPayPalを表示しない設定手順|Shopify×RuffRuff注文制限アプリ

ShopifyでPayPal(ペイパル)決済を特定商品・コレクションで非表示にする方法を解説。RuffRuff 注文制限アプリを使った設定手順を画像付きで詳しく紹介します。

Shopifyでコンビニ決済を注文金額に応じて非表示にする方法

Shopifyでコンビニ決済を注文金額に応じて非表示にする方法

Shopifyストアで注文金額に応じてコンビニ決済の表示・非表示を切り替える方法を解説。RuffRuff注文制限アプリを活用し、高額注文時などでKOMOJUや他決済サービスのコンビニ払いを自動で非表示にする手順を具体的に紹介します。

Shopifyで高額注文時のスマホ決済(QRコード決済)を非表示にする方法|RuffRuff 注文制限活用

Shopifyで高額注文時のスマホ決済(QRコード決済)を非表示にする方法|RuffRuff 注文制限活用

Shopifyストアで特定の条件下(例:高額商品の購入時)でスマホ決済(QRコード決済)を非表示にしたいですか?アプリ「RuffRuff 注文制限」を使って、カート合計金額に応じた決済方法の出し分け設定をする方法を具体的に解説します。PayPayやLINE Pay、メルペイを自動で非表示

販売期間設定の関連記事

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でVIP会員限定で先行販売|発売予告→先行販売→通常販売の3段階設定

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

ShopifyでVIP会員限定の先行販売を実施する手順を詳しく解説。RuffRuff予約販売アプリを使い、発売予告→先行販売→通常販売の3段階設定で効果的な会員限定マーケティングを実現する方法をステップ別に紹介します。

Shopifyアプリで配送保留にする方法|予約注文はフルフィルメントステータスを保留に設定

Shopifyアプリで配送保留にする方法|予約注文はフルフィルメントステータスを保留に設定

Shopifyでの予約販売における配送管理を「RuffRuff 予約販売」アプリで効率化。配送保留機能の活用方法や導入のポイントを解説し、スムーズなストア運営をサポートします。シンプル設定でお手軽に実施可能です。

【Shopify】予約商品はお届け希望日を選択不可にする方法|配送日時指定モジュールを非表示

【Shopify】予約商品はお届け希望日を選択不可にする方法|配送日時指定モジュールを非表示

Shopifyで予約商品のみ配送希望日の選択を無効にする方法を解説。RuffRuff予約販売の機能を使い、カート内に予約商品がある場合に配送日時指定モジュールを自動で非表示にする設定手順を紹介。対応している配送日時指定アプリの一覧と設定方法を詳しく説明しています。

【Shopify】B2CとB2B両対応ストアで卸売会員だけに割引販売する方法

【Shopify】B2CとB2B両対応ストアで卸売会員だけに割引販売する方法

Shopifyストアで卸売会員だけに割引価格を表示する方法をRuffRuff予約販売アプリを使って解説。ゲスト会員と一般会員には通常価格を、卸売会員には20%オフなどの割引価格を表示するB2B対応の設定手順。

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

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

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

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

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

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

ギフト配布の関連記事

View all
Shopifyでプレゼント商品を配布する方法|RuffRuff 購入特典で顧客タグを条件にギフト配布

Shopifyでプレゼント商品を配布する方法|RuffRuff 購入特典で顧客タグを条件にギフト配布

Shopifyアプリ「RuffRuff 購入特典」を使って顧客タグを条件にプレゼント商品を自動配布する設定方法を詳しく解説。VIP会員限定の特典配布で顧客満足度とリピート率を向上させましょう。

Shopifyでサンプル商品を配布する方法|RuffRuff 購入特典で金額を条件にギフト配布

Shopifyでサンプル商品を配布する方法|RuffRuff 購入特典で金額を条件にギフト配布

Shopifyでサンプル商品を自動配布する方法を解説。RuffRuff購入特典アプリを使って1万円以上の注文時にサンプル商品を配布し、平均注文単価向上と運営効率化を実現する設定手順を詳しく紹介します。

Shopifyでノベルティを配布する方法|RuffRuff 購入特典で数量を条件にギフト配布

Shopifyでノベルティを配布する方法|RuffRuff 購入特典で数量を条件にギフト配布

Shopifyノベルティ自動配布の設定手順を画像付きで解説。RuffRuff購入特典アプリで対象商品3個以上の条件設定からテーマ有効化まで、ECサイトの売上向上に効果的な購入特典システムの構築方法。