Title: Add Hierarchical Number To HeadLine
Author: kkosuke
Published: <strong>2017 年 9 月 11 日</strong>
Last modified: 2017 年 11 月 14 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/add-number-to-headline.svg)

# Add Hierarchical Number To HeadLine

 由 [kkosuke](https://profiles.wordpress.org/xxxkosukexxx/) 開發

[下載](https://downloads.wordpress.org/plugin/add-number-to-headline.1.0.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/add-number-to-headline/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/add-number-to-headline/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/add-number-to-headline/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/add-number-to-headline/#developers)

 [技術支援](https://wordpress.org/support/plugin/add-number-to-headline/)

## 外掛說明

This plug-in is a plug-in that adds a number string that can grasp the heading hierarchy
at the head of all headings created by h1 to h9 in the article.
 For example, <.
h1>test<./h1> <.h2>test<./h2> <.h2>test<./h2> Let’s say it is like this. Then, on
the article, a number string is added to the heading as follows. 1 test 1-1 test
1-2 test In this way, the hierarchical structure of the heading is added to the 
head of the headline and it is displayed on the article.

In the user setting, it is possible to set “number” and “character between numbers”
to be added to the headline.

xxxIt does not have to be a hierarchy from h1xxx

Since this plug-in allocates numbers based on the largest heading in the article,

There is no problem even if the biggest headline tag in the article is not h1.

For example

<.h2>test<./h2>
 <.h3>test<./h3> <.h3>test<./h3>

Even if you use heading tags in articles as in

1 test
 1-1 test 1-2 test

And assign numbers.

### For Japanese users

このプラグインは記事内にあるh1~h9で作成された全ての見出しの先頭に、その見出しの階層
が把握できる数字列を追加するプラグインです。
 例えば、 <.h1>test<./h1> <.h2>test
<./h2> <.h2>test<./h2> のようになっているとします。 そうすると、記事上では以下の
ように見出しに数字列が追加されます。 1 test 1-1 test 1-2 test このように見出しの
階層構造を見出しの先頭に追加し、記事上で表示してくれます。

ユーザー設定では、見出しに追加する”数字”と”数字間の文字”を設定することが可能です。

xxx必ずh1からの階層でなくてもいいxxx

当プラグインは、記事中にある一番大きい見出しを基準に番号を割り振りますので、
 記事
中の一番大きい見出しタグがh1でなくても問題ありません。

例えば

<.h2>test<./h2>
 <.h3>test<./h3> <.h3>test<./h3>

のように記事中に見出しタグを使用していても、

1 test
 1-1 test 1-2 test

と番号を割り振ります。

## 螢幕擷圖

[⌊Edit settings through the 'Settings' menu as you like.⌉⌊Edit settings through 
the 'Settings' menu as you like.⌉[

Edit settings through the ‘Settings’ menu as you like.

[[

## 安裝方式

 1. Upload ‘Add Number To HeadLine’ folder to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Edit settings through the ‘Settings’ menu as you like

## 常見問題集

  Installation Instructions

 1. Upload ‘Add Number To HeadLine’ folder to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Edit settings through the ‘Settings’ menu as you like

  What happens if the headings are not in the correct hierarchy.

Once numbers are added, numbers may not be added in the intended hierarchy.
 Please
correctly set the heading hierarchy to avoid it.

## 使用者評論

![](https://secure.gravatar.com/avatar/a9b26bb53aabb93338f807f2dab1c5f558c7cf69d3ca639a0b20017a1694796d?
s=60&d=retro&r=g)

### 󠀁[Works as intended](https://wordpress.org/support/topic/works-as-intended-242/)󠁿

 [saverios](https://profiles.wordpress.org/saverios/) 2024 年 8 月 8 日

This plug in does exactly what I wanted. The content in our internal company site
tends to get long and needs to be exported sometimes; the automatic numbering of
headers works as intended and makes the content easier to navigate. I would like
some option to exclude specific headers from numbering (much like the asterisk does
in LaTeX). Works with Wordpress version 6.6.1

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/add-number-to-headline/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Add Hierarchical Number To HeadLine〉的開發相關工作。

參與者

 *   [ kkosuke ](https://profiles.wordpress.org/xxxkosukexxx/)

[將〈Add Hierarchical Number To HeadLine〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/add-number-to-headline)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/add-number-to-headline/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/add-number-to-headline/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/add-number-to-headline/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/add-number-to-headline/)。

## 變更記錄

#### 1.0.5

The end of the number string to be added has been changed from “” to “.”

#### 1.0.4

Fixed a bug that numbers after the second hierarchy are not reset.

#### 1.0.3

The plugin name displayed in the setting menu has been renamed to the correct name.

#### 1.0.2

 * In addition to individual postings, we also applied plugins etc. even when articles
   are displayed on the main or category screen.

#### 1.0.1

 * Changed the name and description of the plugin.

#### 1.0.0

 * First release.

## 中繼資料

 *  版本 **1.0.5**
 *  最後更新 **9 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.8.34**
 *  語言
 * [English (US)](https://wordpress.org/plugins/add-number-to-headline/)
 * 標籤:
 * [headline](https://tw.wordpress.org/plugins/tags/headline/)[hierarchical](https://tw.wordpress.org/plugins/tags/hierarchical/)
   [number](https://tw.wordpress.org/plugins/tags/number/)
 *  [進階檢視](https://tw.wordpress.org/plugins/add-number-to-headline/advanced/)

## 評分

 4 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/add-number-to-headline/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/add-number-to-headline/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/add-number-to-headline/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/add-number-to-headline/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/add-number-to-headline/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/add-number-to-headline/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/add-number-to-headline/reviews/)

## 參與者

 *   [ kkosuke ](https://profiles.wordpress.org/xxxkosukexxx/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/add-number-to-headline/)