开发者 |
ethitter
thinkoomph bendoh |
---|---|
更新时间 | 2022年7月1日 12:35 |
PHP版本: | 3.4 及以上 |
WordPress版本: | 6.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
<!--nextpage-->
Quicktag at intervals controlled by plugin's settings.
Option is provided to control which post types are automatically paginated (default is the "Post" post type). Supports any public custom post types (non-public types are supported via the autopaging_post_types
filter).
Option is also provided to specify how many pages content should be broken out over, or how many words should be included per page.
/wp-content/plugins/
.The plugin's options are added to the built-in Reading settings page in WordPress.
Yes, the plugin adds a metabox (Classic Editor) and a sidebar component (Block Editor) to individual items in supported post types that allows the autopaging to be disabled on a per-post basis.
Navigate to Settings > Reading in WP Admin to enable this plugin for your custom post type.
You can also use the filter autopaging_post_types
to add support by appending your post type's name to the array.
autopaging_post_types
- modify the post types supported by this plugin. Will override the values set under Settings > Reading.autopaging_num_pages_default
- modify the default number of pages over which a post is displayed. Will override the value set under Settings > Reading.autopaging_max_num_pages
- override the maximum number of pages available in the settings page dropdown when the paging type is "pages".autopaging_max_num_words
- override the minimum number of words allowed per page page when the paging type is "words".autopaging_num_pages
- change the number of pages content is displayed on at runtime. Filter provides access to the full post object in addition to the number of pages.autopaging_num_words
- change the number of words displayed per page at runtime. Filter provides access to the full post object in addition to the number of words.autopaging_supported_block_types_for_word_counts
- specify which block types are considered when splitting a block-editor post by word count.