Questions tagged «nextpage»

2
附加内容中带有<!-nextpage->的4.4
更新2016-01-21 我目前所有的测试都是在新安装的4.4.1上完成的,并具有以下设置: Plain permalinks Twentysixteen Theme No plugins activated 如果该帖子只有一页(即&lt;!--nextpage--&gt;未显示在帖子中),则成功添加了多余的页面(即使您添加了多个多余的页面¹)。 Welcome to WordPress. This is your first post. Edit or delete it, then start writing! 如果帖子有2+页,则多余的页面404和规范重定向到帖子的页面1。 Welcome to WordPress. This is your first post. Edit or delete it, then start writing! &lt;!--nextpage--&gt; This is page 2 在第二种情况下$wp_query-&gt;queried_object,一旦您点击了多余的页面便为空。您需要禁用规范重定向才能看到此信息remove_filter('template_redirect', 'redirect_canonical'); 以下两个核心修复程序已分别或一起尝试过,但没有改变行为:https : …
14 posts  nextpage 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.