Skip to content
Snippets Groups Projects
Commit dfc3386e authored by Erick Hitter's avatar Erick Hitter
Browse files

Readme fixes

parent 827275a8
No related branches found
No related tags found
1 merge request!5Add block-editor support
Pipeline #4970 passed with stages
in 3 minutes and 27 seconds
...@@ -8,32 +8,32 @@ Donate link: ...@@ -8,32 +8,32 @@ Donate link:
**License:** GPLv2 or later **License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html **License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Automatically paginate posts by inserting the <!--nextpage--> Quicktag into WordPress posts, pages, or custom post type content. Automatically paginate posts by inserting the `<!--nextpage-->` Quicktag.
## DESCRIPTION ## ## DESCRIPTION ##
Automatically paginate WordPress content by inserting the <!--nextpage--> Quicktag. Automatically paginate WordPress content by inserting the `<!--nextpage-->` Quicktag at intervals controlled by plugin's settings.
Option is provided to control what post types are automatically paginated (default is just `post`). Supports `post`, `page`, and any public custom post types. 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. Option is also provided to specify how many pages content should be broken out over, or how many words should be included per page.
## Installation ## ## Installation ##
1. Upload automatically-paginate-posts to /wp-content/plugins/. 1. Upload automatically-paginate-posts to `/wp-content/plugins/`.
2. Activate plugin through the WordPress Plugins menu. 2. Activate plugin through the WordPress Plugins menu.
3. Configure plugin by going to Settings > Reading. 3. Configure plugin by going to **Settings > Reading**.
## Frequently Asked Questions ## ## Frequently Asked Questions ##
### Where do I set the plugin's options ### ### Where do I set the plugin's options? ###
The plugin's options are added to the built-in **Reading** settings page in WordPress. The plugin's options are added to the built-in **Reading** settings page in WordPress.
### Can I disable the plugin's functionality for specific posts, pages, or custom post type objects? ### ### Can I disable the plugin's functionality for specific content? ###
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. 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.
### How can I add support for my custom post type? ### ### How can I add support for my custom post type? ###
Navigate to Settings > Reading in WP Admin to enable this plugin for your custom post type. 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. You can also use the filter `autopaging_post_types` to add support by appending your post type's name to the array.
......
...@@ -5,7 +5,7 @@ msgstr "" ...@@ -5,7 +5,7 @@ msgstr ""
"Project-Id-Version: Automatically Paginate Posts 0.3\n" "Project-Id-Version: Automatically Paginate Posts 0.3\n"
"Report-Msgid-Bugs-To: " "Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/automatically-paginate-posts\n" "https://wordpress.org/support/plugin/automatically-paginate-posts\n"
"POT-Creation-Date: 2022-06-27 04:45:20+00:00\n" "POT-Creation-Date: 2022-06-29 04:13:00+00:00\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
...@@ -25,7 +25,7 @@ msgstr "" ...@@ -25,7 +25,7 @@ msgstr ""
"X-Textdomain-Support: yes\n" "X-Textdomain-Support: yes\n"
"X-Generator: grunt-wp-i18n 1.0.3\n" "X-Generator: grunt-wp-i18n 1.0.3\n"
#: automatically-paginate-posts.php:183 #: automatically-paginate-posts.php:193
msgid "Post types can only be retrieved after the \"init\" hook." msgid "Post types can only be retrieved after the \"init\" hook."
msgstr "" msgstr ""
...@@ -33,43 +33,43 @@ msgstr "" ...@@ -33,43 +33,43 @@ msgstr ""
msgid "Automatically Paginate Posts" msgid "Automatically Paginate Posts"
msgstr "" msgstr ""
#: automatically-paginate-posts.php:317 #: automatically-paginate-posts.php:327
msgid "Supported post types:" msgid "Supported post types:"
msgstr "" msgstr ""
#: automatically-paginate-posts.php:318 #: automatically-paginate-posts.php:328
msgid "Split post by:" msgid "Split post by:"
msgstr "" msgstr ""
#: automatically-paginate-posts.php:396 #: automatically-paginate-posts.php:406
msgid "Total number of pages:" msgid "Total number of pages:"
msgstr "" msgstr ""
#: automatically-paginate-posts.php:397 #: automatically-paginate-posts.php:407
msgid "Approximate words per page:" msgid "Approximate words per page:"
msgstr "" msgstr ""
#: automatically-paginate-posts.php:474 #: automatically-paginate-posts.php:484
msgid "" msgid ""
"If chosen, each page will contain approximately this many words, depending " "If chosen, each page will contain approximately this many words, depending "
"on paragraph lengths." "on paragraph lengths."
msgstr "" msgstr ""
#: automatically-paginate-posts.php:511 #: automatically-paginate-posts.php:521
msgid "Autopaging" msgid "Autopaging"
msgstr "" msgstr ""
#: automatically-paginate-posts.php:527 #: automatically-paginate-posts.php:537
msgid "Disable autopaging for this post?" msgid "Disable autopaging for this post?"
msgstr "" msgstr ""
#: automatically-paginate-posts.php:530 #: automatically-paginate-posts.php:540
msgid "" msgid ""
"Check the box above to prevent this post from automatically being split " "Check the box above to prevent this post from automatically being split "
"over multiple pages." "over multiple pages."
msgstr "" msgstr ""
#: automatically-paginate-posts.php:535 #: automatically-paginate-posts.php:545
#. translators: 1. Quicktag code example. #. translators: 1. Quicktag code example.
msgid "" msgid ""
"Note that if the %1$s Quicktag is used to manually page this post, " "Note that if the %1$s Quicktag is used to manually page this post, "
......
...@@ -8,32 +8,32 @@ Stable tag: 0.3 ...@@ -8,32 +8,32 @@ Stable tag: 0.3
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Automatically paginate posts by inserting the <!--nextpage--> Quicktag into WordPress posts, pages, or custom post type content. Automatically paginate posts by inserting the `<!--nextpage-->` Quicktag.
== DESCRIPTION == == DESCRIPTION ==
Automatically paginate WordPress content by inserting the <!--nextpage--> Quicktag. Automatically paginate WordPress content by inserting the `<!--nextpage-->` Quicktag at intervals controlled by plugin's settings.
Option is provided to control what post types are automatically paginated (default is just `post`). Supports `post`, `page`, and any public custom post types. 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. Option is also provided to specify how many pages content should be broken out over, or how many words should be included per page.
== Installation == == Installation ==
1. Upload automatically-paginate-posts to /wp-content/plugins/. 1. Upload automatically-paginate-posts to `/wp-content/plugins/`.
2. Activate plugin through the WordPress Plugins menu. 2. Activate plugin through the WordPress Plugins menu.
3. Configure plugin by going to Settings > Reading. 3. Configure plugin by going to **Settings > Reading**.
== Frequently Asked Questions == == Frequently Asked Questions ==
= Where do I set the plugin's options = = Where do I set the plugin's options? =
The plugin's options are added to the built-in **Reading** settings page in WordPress. The plugin's options are added to the built-in **Reading** settings page in WordPress.
= Can I disable the plugin's functionality for specific posts, pages, or custom post type objects? = = Can I disable the plugin's functionality for specific content? =
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. 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.
= How can I add support for my custom post type? = = How can I add support for my custom post type? =
Navigate to Settings > Reading in WP Admin to enable this plugin for your custom post type. 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. You can also use the filter `autopaging_post_types` to add support by appending your post type's name to the array.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment