plugin-icon

Shortcode Table of Contents

제작자: jamesckemp·
Display an automated table of contents via shortcode.
등급
4.7/5
버전
1.0.3
활성화된 설치 항목
300
최근 업데이트일
Jul 31, 2018
Shortcode Table of Contents

Simply use the [toc content=".your-container"] shortcode to automatically generate a table of contents for any HTML container.

The shortcode accepts a number of parameters:

  • content string required A CSS selector indicating the container of your content.
  • headers string A comma separated list of heading selectors that you want to include.
  • speed int Speed of sliding back to top.
  • anchor-class string Class of anchor links.
  • anchor-text string Prepended or appended to anchor headings. Leave blank to disable anchor links.
  • top_class string Back to top button or link class.
  • spy true/false Enable scroll spy. This will highlight the list items as you scroll past them.
  • position append/prepend Position of anchor text.
  • spy-offset int Specify heading offset for spy scrolling.
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 4.9.28
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.