开发者 |
tlamedia
torbenlundsgaard |
---|---|
更新时间 | 2020年10月7日 02:42 |
捐献地址: | 去捐款 |
PHP版本: | 5.3 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
<!--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.
simple-paginated-posts
folder to the /wp-content/plugins/
directory