Title: f(x) TOC
Author: David Chandra Purnama
Published: <strong>25 Tháng 2, 2016</strong>
Last modified: 1 Tháng 8, 2016

---

Tìm kiếm plugin

![](https://ps.w.org/fx-toc/assets/banner-772x250.png?rev=1357877)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/fx-toc/assets/icon-256x256.png?rev=1357877)

# f(x) TOC

 Bởi [David Chandra Purnama](https://profiles.wordpress.org/turtlepod/)

[Tải về](https://downloads.wordpress.org/plugin/fx-toc.1.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/fx-toc/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/fx-toc/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/fx-toc/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/fx-toc/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/fx-toc/)

## Mô tả

**[f(x) TOC](http://genbumedia.com/plugins/fx-toc/)** Simple Table Of Contents Plugin.
Just add [toc] shortcode in content to display. This plugin will parse and grab 
all heading (h1 -h6) in your content and display it as structured table of contents(
just like WikiPedia.org table of contents).

**Features:**

 1. Super simple and easy to use.
 2. Auto create Table of contents by listing all your headings in your content.
 3. The GPL v2.0 or later license. 🙂 Use it to make something cool.
 4. Support available at [Genbu Media](http://genbumedia.com/contact/?about=f(x)+TOC).

**Shortcode Options:**

You can use several options in [toc] shortcode:

 1. title: to change the title of table of contents, as default is `Table of contents`.
 2. title_tag: element wrapper for the title, the default is `h2`.
 3. list: you can use `ul` for unordered list (default), or `ol` for ordered list.
 4. depth: list depth (numeric). the default is `6`.

Advance usage example using all the options:

[toc title=”This page content:” title_tag=”strong” list=”ol” depth=”1″]
 Notes for
developer:

#### Github

Development of this plugin is hosted at [GitHub](https://github.com/turtlepod/fx-toc).
Pull request and bug reports are welcome.

#### Hooks

List of hooks available in this plugin:

**filter:** `fx_toc_default_args` (array)

The default option for the shortcode.

**filter:** `fx_toc_output` (string)

HTML output of the shortcode.

## Cài đặt

 1. Navigate to “Plugins > Add New” Page from your Admin.
 2. To install directly from WordPress.org repository, search the plugin name in the
    search box and click “Install Now” button to install the plugin.
 3. To install from plugin .zip file, click “Upload Plugin” button in “Plugins > Add
    New” Screen. Browse the plugin .zip file, and click “Install Now” button.
 4. Activate the plugin.

## Hỏi đáp

  Can I add this in widget ?

No, you can only add this shortcode in content.

  Can I dislay it in archive pages?

Yes, if your theme display full content, table of contents will be displayed.

  How to style this ?

The Table of contents output is wrapped in `fx-toc` class. You can style it using
CSS.

## Đánh giá

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

### 󠀁[Brilliantly simple](https://wordpress.org/support/topic/brilliantly-simple-15/)󠁿

 [Ron Dowd](https://profiles.wordpress.org/rondowd/) 21 Tháng 9, 2017

Does what it says it will, simply and elegantly. Mobile responsive.

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

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-990/)󠁿

 [Francks](https://profiles.wordpress.org/franck-awo/) 7 Tháng 3, 2017

Works within Divi theme. Many thank's, please go on!

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

### 󠀁[Simple and functional](https://wordpress.org/support/topic/simple-and-functional-63/)󠁿

 [fyrye](https://profiles.wordpress.org/fyrye/) 19 Tháng 2, 2017

Works great out of the box.

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

### 󠀁[Plug and play](https://wordpress.org/support/topic/plug-and-play-16/)󠁿

 [estr](https://profiles.wordpress.org/estr/) 27 Tháng 12, 2016

Very nice and easy TOC. Thanks so much for the plugin!

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

### 󠀁[Perfect the way it is!](https://wordpress.org/support/topic/perfect-the-way-it-is/)󠁿

 [deus62](https://profiles.wordpress.org/deus62/) 12 Tháng 11, 2016

Excellent plugin which does exactly what I was looking for. Unbloated (hope it stays
that way) and hopefully updated when the need arises … without adding too many options
to it. Perfect the way it is. Love it! Thanks for making this one. 🙂

 [ Đọc tất cả 5 đánh giá ](https://wordpress.org/support/plugin/fx-toc/reviews/)

## Người đóng góp & Lập trình viên

“f(x) TOC” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ David Chandra Purnama ](https://profiles.wordpress.org/turtlepod/)

[Dịch “f(x) TOC” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/fx-toc)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/fx-toc/), check out [SVN repository](https://plugins.svn.wordpress.org/fx-toc/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/fx-toc/)
qua [RSS](https://plugins.trac.wordpress.org/log/fx-toc/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.1.0 – 04 May 2016

 * Display TOC on archive pages too.
 * Strip tags for each list item to avoid problem in the future.
 * Add plugin action link for support.
 * new filter “fx_toc_output”.

#### 1.0.0 – 11 Jan 2016

 * Init

## Meta

 *  Phiên bản **1.1.0**
 *  Cập nhật lần cuối **10 năm trước**
 *  Số lượt cài đặt **200+**
 *  Phiên bản WordPress ** 4.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.7.39**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/fx-toc/)
 * Thẻ
 * [heading](https://vi.wordpress.org/plugins/tags/heading/)[shortcode](https://vi.wordpress.org/plugins/tags/shortcode/)
   [table of contents](https://vi.wordpress.org/plugins/tags/table-of-contents/)
   [toc](https://vi.wordpress.org/plugins/tags/toc/)[toc shortcode](https://vi.wordpress.org/plugins/tags/toc-shortcode/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/fx-toc/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/fx-toc/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/fx-toc/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/fx-toc/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/fx-toc/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/fx-toc/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fx-toc/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/fx-toc/reviews/)

## Những người đóng góp

 *   [ David Chandra Purnama ](https://profiles.wordpress.org/turtlepod/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/fx-toc/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TT23LVNKA3AU2)