Developed internally for our Adjustly theme, this plugin allows authors to create multi-page posts and pages to the WordPress Visual and HTML toolbar.
此插件是针对Adjustly主题内部开发的,允许作者在WordPress Visual和HTML工具栏上创建多页的帖子和页面。
This is not a post-to-post navigation feature, this is specifically about adding page breaks to a single, very long page/post.
这不是文章发布后的导航功能,它专门用于将分页符添加到一个很长的页面/文章中。
We did not create any new features with this plugin, it simply brings back an existing feature to the toolbar.
我们没有使用此插件创建任何新功能,只是将现有功能带回工具栏。 p>
Try the Demo
尝试演示 h4>
If you’re interested in seeing what a default installation of Adjustly Nextpage has to offer, we have a verbose sample post located here.
如果您有兴趣查看默认安装的Adjustly Nextpage所提供的内容,请在此处找到详细的示例帖子。 p>
http://www.psdcovers.com/adjustly-nextpage/
http://www.psdcovers.com/adjustly-nextpage/ p
>
>
Usage
用法 h4>
Usage is identical to adding the more separator and looks as follows:
用法与添加更多分隔符相同,如下所示: p>
<!-下一页->
code> pre>
That’s it.
就是这样。
WordPress already has support for treating this as a page break when viewing the article and will add a page navigation tool at the end of each page or post.
WordPress已经支持在查看文章时将此视为分页符,并将在每个页面或文章的末尾添加页面导航工具。
In fact,
has been around for at least 4 years and has been commented out in wp-admin/quicktags.js since at least version 1.5.1
实际上, <!-nextpage-> code>已有至少4年的历史了,并且至少从1.5.1版开始在wp-admin / quicktags.js中被注释掉了。 p>WordPress knows your article is not really 2 or more individual pages so your entire page/post is still edited as a single, very long post, on the backend.
WordPress知道您的文章实际上不是2个或更多的单独页面,因此您的整个页面/帖子仍然在后端编辑为一个很长的帖子。
You will not be jumping from section to section, nothing changes with regards to how you currently edit pages and posts.
您不会在各节之间跳来跳去,关于当前编辑页面和帖子的方式没有任何变化。 p>
Notes
注释 h4>
None yet.
还没有。 p>
Troubleshooting
问题排查 h3>
- Hey, I have 3.3+ installed but it’s not working!
- 嘿,我已经安装了3.3+,但无法正常工作! li>
ol>
If you can’t see any pagination tools at the end of your post then it’s likely that your theme was not made to accomodate this feature.
如果您在帖子的末尾看不到任何分页工具,则可能是您的主题未适应此功能。
The fix is easy, add the following code to your single.php file inside your theme:
修复很容易,将以下代码添加到主题内的single.php文件中: p>
'' . __( 'Pages:', 'adjustly' ), 'after' => '<
<?php wp_link_pages(array('before'=>''。__('Pages:','adjustly'),'after'=>'<
/div>' ) );
/ div>'));
?>
?>
code> pre>
Add this code just prior to the comments_template() code or move it around to see where it suits you best.
在comments_template()代码之前添加此代码,或四处移动以查看最适合您的位置。
You may want to add the name of your theme to the code (remove “adjustly” and put your theme name in its place).
您可能需要将主题名称添加到代码中(“删除”并在其位置放置主题名称)。 p>
You will aslo have to add the above code to page.php as well (code is identical).
您还必须将上述代码也添加到page.php中(代码相同)。 p>
-EOF-
AI助手支持GPT4.0