[WordPress] 外掛分享: Add Hierarchical Number To HeadLine

首頁外掛目錄 › Add Hierarchical Number To HeadLine
10+
安裝啟用
★★★★
4/5 分(1 則評價)
3047 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0.5 上架:2017-09-10

內容簡介

這個外掛是可以在由 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

並且指定號碼。

給日本使用者

這個外掛是可以在由 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

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Add Hierarchical 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
と番号を割り振ります。

延伸相關外掛

文章
Filter
Apply Filters
Mastodon