跳到内容

Simple Paginated Posts

v0.1.6

TLA Media · 2012年11月5日 上架

Generate table of contents for paginated posts

正在使用
30+
评分
4.0 / 5
累计下载
7,360
最近更新
2020年10月7日
2 条评价需要 WordPress 3.5+已测试到 4.9.36PHP 5.3+

The Simple Paginated Posts plugin uses the native WordPress Page-Link tag <!--nextpage--> in combination with a shortcode tag [spp title=”My title”] to generate a Table Of Contents for paginated posts.

Implementation

You simply define a title for the Table Of Contents (TOC) by placing a SPP shortcode tag right after the <!--nextpage--> tag.

Example:

[spp title=”My title”]

The plugin can be configured to automatically add the TOC and page links to your site. You can also choose manual implementation and add the template functions to your theme.

If you choose to implement Simple Paginated Posts (SPP) manually you need to insert the SPP template functions in your theme

spp_continued() - Displays "Continued from PREVIOUS TITLE"
spp_toc() - Displays the Table Of Contents
spp_link_pages() - Displays: Previous 1 2 3 4 Next

Please refer to the plugin homepage for full documentation of the template functions.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums