Linux 软件免费装
Banner图

ONet Header Linkifier

开发者 orosznyet
更新时间 2013年11月30日 03:33
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 3.7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

post header anchor auto toc

下载

1.1 1.12

详情介绍:

Do you like to write long articles with many headers? Then this is the perfect plugin for you. This plugin will add a link next to your headers so your user can share your posts pointing to specific parts. Plus a smooth scroll script is also included which will make the overall experience even better. The package contains a predefined style for Git-like link display but it is hardly recommend to change the style to fit your needs (and your design). The plugin uses internal cache which may interfere with other cache plugins, if you experience anything strange feel free to contact the plugin author.

安装:

  1. Install ONet Header Linkifier either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Chose a method listed in description.

屏幕截图:

  • /assets/screenshot-1.png
  • /assets/screenshot-2.jpg

升级注意事项:

1.12 Missing settings link issue fix and Name change. 1.01 Negligible update with few text changes. 1.0 Initial release

常见问题:

I can't see any changes on the site. Why this plugin does nothing?

Check if the plugin is enabled in the Plugin manager and in the Settings > Reading.

How can I use custom styles for Git-like display?

First of all turn off "load predefined styles" in Settings > Reading then add your own styles.

Why does it not work on archives page?

In order to avoid multiple instances of the same link name the plugin works only on single pages. (You can still call it manually using ONetHeaderLinkifier::perform_parse([content]) )

How can I get TOC of a content?

It is simplitcity itself. Use ONetHeaderLinkifier::get_toc([content],[optional: return hierarchical or raw list]).

更新日志:

1.12 1.02 1.01 1.0