Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

首页文章显示和分页相关 #224

Closed
AniBullet opened this issue Apr 24, 2020 · 4 comments
Closed

首页文章显示和分页相关 #224

AniBullet opened this issue Apr 24, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@AniBullet
Copy link

描述问题

  1. 文章总数10,有置顶文章,主页显示文章数9,有下一页,但是404
  2. 文章总数10,无置顶文章,主页显示文章数10,无下一页
  3. 文章总数11,有置顶文章,主页显示文章数9,有下一页,但是第2篇文章不显示,加载后只有10篇文章
  4. 文章总数11,无置顶文章,主页显示文章数10,有下一页,显示完整11篇文章

(另外有个不知道是不是问题,后台“阅读”里面设置主页显示文章数并不起效)
(固定连接改成/%postid%.html,文章会变404,不过这可能是我设置问题-。-
换成%posename%.html是OK的)

bug 重现步骤

截图(如有)

系统信息

  • (前端)操作系统: [Windows 10]
  • 浏览器: [chrome]
  • PHP 版本
  • WordPress 版本
  • Sakura 主题版本:3.3.8

补充信息

@spirit1431007
Copy link
Collaborator

文章总数为10的话所有文章都会在首页显示,我认为没有必要置顶

@mashirozx
Copy link
Owner

的确我们应该规范一下输出,不过这是重构议程里面的事了,目前暂时避免十篇文章还带置顶的情况吧🤔

@mashirozx mashirozx added the bug Something isn't working label Apr 24, 2020
@AniBullet
Copy link
Author

因为后台其实有设置首页显示文章数,所以原本没想首页全部显示完,
不过现在把wordpress官方后台阅读里面的设置改成10可以解决问题。

@MuenYu
Copy link
Contributor

MuenYu commented Jul 29, 2020

分页文章数量与后台设置——“博客页面至多显示”设置数量不符。

@spirit1431007 spirit1431007 mentioned this issue Aug 3, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants