Automatically Paginate Posts issueshttps://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues2022-10-02T20:00:34Zhttps://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/17Only Count Words Inside Paragraph Block2022-10-02T20:00:34ZErick HitterOnly Count Words Inside Paragraph Block
<p>Replies: 0</p>
<p>Hi,</p>
<p>I just installed the plugin and it did a great job for my site. However when I tried to split post by word count, I think it count all words in the whole page not only words in the content.</p...
<p>Replies: 0</p>
<p>Hi,</p>
<p>I just installed the plugin and it did a great job for my site. However when I tried to split post by word count, I think it count all words in the whole page not only words in the content.</p>
<p>I saw that there is filter to modify which block I want to use for word counting (autopaging_supported_block_types_for_word_counts). Unfortunatelly I didn’t have much knowledge to implement it.</p>
<p>Could you help me to give a sample how to implement that filter to only count words inside paragraph block?</p>
<br>https://wordpress.org/support/topic/only-count-words-inside-paragraph-block/<br>https://wordpress.org/support/topic/only-count-words-inside-paragraph-block/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/15<span class="resolved" aria-label="Resolved" title="Topic is resolved."></spa...2022-08-27T23:02:06ZErick Hitter<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>POST ORDERING BROKEN IN ADMIN AFTER UNINSTALLING THIS PLUGIN!
<p>Replies: 1</p>
<p>I installed the plugin, I tried it, then I uninstalled it.</p>
<p>Now, all my posts in worpress admin are showing from oldest to newest and also if I clic the date column to reorder them in ascending or ...
<p>Replies: 1</p>
<p>I installed the plugin, I tried it, then I uninstalled it.</p>
<p>Now, all my posts in worpress admin are showing from oldest to newest and also if I clic the date column to reorder them in ascending or descending order, this does not work, also the ordering is not working even if I click the title column in order to prder posts by title. Order is always shown from oldest post to newest post. I am getting crazy! Please tell me why this plugin broke my post ordering function of wordpress admin. The problem only happens in admin post lists, not in homepage.</p>
<br>https://wordpress.org/support/topic/post-ordering-broken-in-admin-after-uninstalling-this-plugin/<br>https://wordpress.org/support/topic/post-ordering-broken-in-admin-after-uninstalling-this-plugin/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/12Gutenberg support2022-06-29T04:23:20ZErick HitterGutenberg supportThere are two components to supporting Gutenberg:
1. Changing how Gutenberg posts are split, as using paragraph-tags approach breaks Gutenberg content.
2. Introducing a sidebar component to replace the legacy metabox.
Tasks:
- [x] Dete...There are two components to supporting Gutenberg:
1. Changing how Gutenberg posts are split, as using paragraph-tags approach breaks Gutenberg content.
2. Introducing a sidebar component to replace the legacy metabox.
Tasks:
- [x] Detect if a post uses Gutenberg, introduce Gutenberg-capable splitting method and apply it
- [x] Register meta
- [x] Add wp-scripts
- [x] Create sidebar component
- [x] De-register metabox when on a Gutenberg post
- [x] Fix issue where empty pages are added (it's probably the `continue` that should be a `break`.
- [x] UNIT TESTS!!!
This should resolve #1, #5, #6, #7, #9, #10, and #11.Erick HitterErick Hitterhttps://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/11Empty-page-at-the-end-of-post2022-06-29T04:23:19ZErick HitterEmpty-page-at-the-end-of-post
<p>Replies: 0</p>
<p>Hi,</p>
<p>Why &#8220;Automatically Paginate&#8221; developers didn&#8217;t consider this fix in their new version?</p>
<p><a href="https://wordpress.org/support/topic/empty-page-at-the-end-of-post/" rel...
<p>Replies: 0</p>
<p>Hi,</p>
<p>Why “Automatically Paginate” developers didn’t consider this fix in their new version?</p>
<p><a href="https://wordpress.org/support/topic/empty-page-at-the-end-of-post/" rel="nofollow">https://wordpress.org/support/topic/empty-page-at-the-end-of-post/</a></p>
<p>Regards</p>
<br>https://wordpress.org/support/topic/empty-page-at-the-end-of-post-2/<br>https://wordpress.org/support/topic/empty-page-at-the-end-of-post-2/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/10Automatically Paginate Posts create empty pages2022-06-29T04:23:18ZErick HitterAutomatically Paginate Posts create empty pages
<p>Replies: 0</p>
<p>Automatically Paginate Posts used by us on one of our websites to break long posts into short pages, It is creating troubles, The main problem is I am facing that, Automatically Paginate Posts plugin in...
<p>Replies: 0</p>
<p>Automatically Paginate Posts used by us on one of our websites to break long posts into short pages, It is creating troubles, The main problem is I am facing that, Automatically Paginate Posts plugin in 90 percent cases put a –nextpage– tag where post end, and creating empty post pages, an urgent solution needed, please.</p>
<br>https://wordpress.org/support/topic/automatically-paginate-posts-create-empty-pages/<br>https://wordpress.org/support/topic/automatically-paginate-posts-create-empty-pages/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/9Auto Pagination breaks the article format2022-06-29T04:23:18ZErick HitterAuto Pagination breaks the article format
<p>Replies: 0</p>
<p>Hi,</p>
<p>When I implemented the automatically paginate function.<br />
It broke my articles&#8217; format.<br />
All words are not combine into one paragraph.<br />
Anyone has the solution for it?</p>
...
<p>Replies: 0</p>
<p>Hi,</p>
<p>When I implemented the automatically paginate function.<br />
It broke my articles’ format.<br />
All words are not combine into one paragraph.<br />
Anyone has the solution for it?</p>
<p>Thanks,</p>
<br>https://wordpress.org/support/topic/auto-pagination-breaks-the-article-format/<br>https://wordpress.org/support/topic/auto-pagination-breaks-the-article-format/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/8Please correct text-domai issue2022-06-26T20:54:07ZErick HitterPlease correct text-domai issue
<p>Replies: 0</p>
<p>Hi Developer,</p>
<p>ERROR: Your &#8220;Requires at least&#8221; is below 4.6. so you need to set a Text Domain in automatically-paginate-posts.php and it needs to be automatically-paginate-posts to corr...
<p>Replies: 0</p>
<p>Hi Developer,</p>
<p>ERROR: Your “Requires at least” is below 4.6. so you need to set a Text Domain in automatically-paginate-posts.php and it needs to be automatically-paginate-posts to correctly internationalize your plugin! (see <a href="https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains" rel="nofollow ugc">https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains</a>)</p>
<p>Thanks,</p>
<p>Alex Lion</p>
<br>https://wordpress.org/support/topic/please-correct-text-domai-issue/<br>https://wordpress.org/support/topic/please-correct-text-domai-issue/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/7Disappear when Plugin Activated2022-06-29T04:23:17ZErick HitterDisappear when Plugin Activated
<p>Replies: 0</p>
<p>As you can see on the page it&#8217;s broken down to individual paragraphs. When I activated the plugin the &lt;p&gt; and &lt;/p&gt; go missing and turns the post in to one big paragraph. The pagination ...
<p>Replies: 0</p>
<p>As you can see on the page it’s broken down to individual paragraphs. When I activated the plugin the <p> and </p> go missing and turns the post in to one big paragraph. The pagination does work though.</p>
<br>https://wordpress.org/support/topic/disappear-when-plugin-activated/<br>https://wordpress.org/support/topic/disappear-when-plugin-activated/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/6No pagination on 5.42022-06-29T04:23:17ZErick HitterNo pagination on 5.4
<p>Replies: 0</p>
<p>Tried this plugin on the 5.4 version of WordPress, no luck.<br />
I have 4 posts pages in one category that I wanted to paginate.<br />
Does not work with the pages=2 setting, not with the words=99 setti...
<p>Replies: 0</p>
<p>Tried this plugin on the 5.4 version of WordPress, no luck.<br />
I have 4 posts pages in one category that I wanted to paginate.<br />
Does not work with the pages=2 setting, not with the words=99 setting,<br />
also not with the <!–nextpage–> “quick tag”. </p>
<br>https://wordpress.org/support/topic/no-pagination-on-5-4/<br>https://wordpress.org/support/topic/no-pagination-on-5-4/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/5No pagination on posts2022-06-29T04:23:16ZErick HitterNo pagination on posts
<p>Replies: 0</p>
<p>The pagination is not working, even when the shortcode is inserted manually. Please help. </p>
<br>https://wordpress.org/support/topic/no-pagination-on-posts/<br>https://wordpress.org/support/topic...
<p>Replies: 0</p>
<p>The pagination is not working, even when the shortcode is inserted manually. Please help. </p>
<br>https://wordpress.org/support/topic/no-pagination-on-posts/<br>https://wordpress.org/support/topic/no-pagination-on-posts/https://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/4hao to add next page button?2020-01-01T15:43:14ZErick Hitterhao to add next page button?<p>Replies: 0</p>
<p>Hello, I&#8217;m from Hong Kong. Your plug-in is very good, but the page number of the article &#8220;1 2 3 4 5 6&#8221; The gap between them is too small. It&#8217;s easy to click other page numbers when browsing th...<p>Replies: 0</p>
<p>Hello, I’m from Hong Kong. Your plug-in is very good, but the page number of the article “1 2 3 4 5 6” The gap between them is too small. It’s easy to click other page numbers when browsing the web by mobile phone. Can you add a button for the Previous/Next page? For example, “Page Number: Previous|First page|…1 | 2 | 3 | Next |Last page “</p>
<br>https://wordpress.org/support/topic/hao-to-add-next-page-button/<br>https://wordpress.org/support/topic/hao-to-add-next-page-button/Erick HitterErick Hitterhttps://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/3The nextpage tag is no longer inserted (solved)2020-05-23T16:11:54ZErick HitterThe nextpage tag is no longer inserted (solved)<p>Replies: 0</p>
<p>The first problem was related to this line:</p>
<p><code>$content = $the_post->post_content;</code></p>
<p>WordPress must have changed the output of post_content at some point, and now post_content return only ...<p>Replies: 0</p>
<p>The first problem was related to this line:</p>
<p><code>$content = $the_post->post_content;</code></p>
<p>WordPress must have changed the output of post_content at some point, and now post_content return only text, without html paragraph notation ( <p></p> ).<br />
But this plugin require them, because it does a series of checks and in his subroutine changes the paragraph html notation with a double new line (just to count the paragraphs, the plug-in does not make any changes to your text).</p>
<p>So, this problem can be easily solved changing line #370 to:</p>
<p><code>$content = wpautop( $the_post->post_content );</code></p>
<p>But there may be another problem. The plug-in checks the notation <code><p> … </p></code>but not also the inline-style paragraph notations like <code><p style=”text-align: center;>…</p></code>.</p>
<p>So, it’s better to eventually stripe the inline-style part adding another control just after:<br />
“//Normalize post content to simplify paragraph counting and automatic paging. Accounts for content that hasn’t been cleaned up by TinyMCE.” (line #372)</p>
<p><code>$content = preg_replace( ‘/(?=<p )(.*?)(>)/i’, ‘<p>’, $content );</code></p>
<p>The file to change is located in “plugins/automatically-paginate-posts/automatically-paginate-posts.php”</p>
<ul id="bbp-topic-revision-log-12028416" class="bbp-topic-revision-log">
<li id="bbp-topic-revision-log-12028416-item-12028479" class="bbp-topic-revision-log-item">
This topic was modified 1 month, 2 weeks ago by <a href="https://wordpress.org/support/users/paolov/" title="View paolov's profile" class="bbp-author-link"><span class="bbp-author-name">paolov</span></a>.
</li>
</ul>
---
<p>Replies: 0</p>
<p>The first problem was related to this line:</p>
<p><code>$content = $the_post->post_content;</code></p>
<p>WordPress must have changed the output of post_content at some point, and now post_content return only text, without html paragraph notation ( <p></p> ).<br />
But this plugin require them, because it does a series of checks and in his subroutine changes the paragraph html notation with a double new line (just to count the paragraphs, the plug-in does not make any changes to your text).</p>
<p>So, this problem can be easily solved changing line #370 to:</p>
<p><code>$content = wpautop( $the_post->post_content );</code></p>
<p>But there may be another problem. The plug-in checks the notation <code><p> … </p></code>but not also the inline-style paragraph notations like <code><p style=”text-align: center;>…</p></code>.</p>
<p>So, it’s better to eventually stripe the inline-style part adding another control just after:<br />
“//Normalize post content to simplify paragraph counting and automatic paging. Accounts for content that hasn’t been cleaned up by TinyMCE.” (line #372)</p>
<p><code>$content = preg_replace( ‘/(?=<p )(.*?)(>)/i’, ‘<p>’, $content );</code></p>
<p>The file to change is located in “plugins/automatically-paginate-posts/automatically-paginate-posts.php”</p>
<ul id="bbp-topic-revision-log-12028416" class="bbp-topic-revision-log">
<li id="bbp-topic-revision-log-12028416-item-12028479" class="bbp-topic-revision-log-item">
This topic was modified 1 month, 2 weeks ago by <a href="https://wordpress.org/support/users/paolov/" title="View paolov's profile" class="bbp-author-link"><span class="bbp-author-name">paolov</span></a>.
</li>
</ul>
---
Author: paolov
Forum URL: https://wordpress.org/support/topic/the-nextpage-tag-is-no-longer-inserted-solved/
Date created: 2019-10-14T17:19:25.000ZErick HitterErick Hitterhttps://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/2The nextpage tag is no longer inserted2020-05-23T16:12:09ZErick HitterThe nextpage tag is no longer inserted<p>Replies: 0</p>
<p>Maybe my mistake, but seems that nextpage tag is no longer inserted.<br />
Tested on<br />
Wordpress 5.2.3<br />
Php 7.3.9-1~deb10u1 and 7.0.33-0+deb9u5<br />
Tested with many themes, also with Twenty Nineteen<...<p>Replies: 0</p>
<p>Maybe my mistake, but seems that nextpage tag is no longer inserted.<br />
Tested on<br />
Wordpress 5.2.3<br />
Php 7.3.9-1~deb10u1 and 7.0.33-0+deb9u5<br />
Tested with many themes, also with Twenty Nineteen<br />
wp_link_pages is present in single.php and page.php</p>
<p>On one site the blog was not changed, simply the pagination is disappeared, but I didn’t notice when.</p>
<p>No errors in nginx or php log</p>
<ul id="bbp-topic-revision-log-12024236" class="bbp-topic-revision-log">
<li id="bbp-topic-revision-log-12024236-item-12024237" class="bbp-topic-revision-log-item">
This topic was modified 1 month, 2 weeks ago by <a href="https://wordpress.org/support/users/paolov/" title="View paolov's profile" class="bbp-author-link"><span class="bbp-author-name">paolov</span></a>.
</li>
</ul>
---
<p>Replies: 0</p>
<p>Maybe my mistake, but seems that nextpage tag is no longer inserted.<br />
Tested on<br />
Wordpress 5.2.3<br />
Php 7.3.9-1~deb10u1 and 7.0.33-0+deb9u5<br />
Tested with many themes, also with Twenty Nineteen<br />
wp_link_pages is present in single.php and page.php</p>
<p>On one site the blog was not changed, simply the pagination is disappeared, but I didn’t notice when.</p>
<p>No errors in nginx or php log</p>
<ul id="bbp-topic-revision-log-12024236" class="bbp-topic-revision-log">
<li id="bbp-topic-revision-log-12024236-item-12024237" class="bbp-topic-revision-log-item">
This topic was modified 1 month, 2 weeks ago by <a href="https://wordpress.org/support/users/paolov/" title="View paolov's profile" class="bbp-author-link"><span class="bbp-author-name">paolov</span></a>.
</li>
</ul>
---
Author: paolov
Forum URL: https://wordpress.org/support/topic/the-is-no-longer-inserted/
Date created: 2019-10-12T23:56:29.000ZErick HitterErick Hitterhttps://git.ethitter.com/wp-plugins/automatically-paginate-posts/-/issues/1Splitting logic needs to handle certain cases better. Currently no pagination...2022-06-29T04:23:16ZErick HitterSplitting logic needs to handle certain cases better. Currently no pagination occursIf plugin is set to split over two pages, and three paragraphs exist, the logic fails and nothing is split.
Similarly, if three pages are chosen and four paragraphs exist, nothing splits.
Seems that whenever the number of paragraph...If plugin is set to split over two pages, and three paragraphs exist, the logic fails and nothing is split.
Similarly, if three pages are chosen and four paragraphs exist, nothing splits.
Seems that whenever the number of paragraphs is one greater than the pages to be split over, nothing is split.