[英]wordpress - no custom posts showing past page 1
In my wordpress site, I added 在我的wordpress网站中,我添加了
<?php query_posts( 'post_type=sword'); ?>
above my loop, so my custom post type 'sword' now shows. 在循环上方,因此现在显示我的自定义帖子类型“ sword”。 Great, everything looks as it should, until I go to the next page - nothing.
太好了,一切看起来都应该正常,直到我转到下一页为止。 No custom posts past page one.
第一页后没有自定义帖子。 Is this a pagination issue?
这是分页问题吗? And how do I solve this?
我该如何解决呢?
edit: if this involves much more than adding a one-liner, like I did for query_posts, I apologize for my ignorance. 编辑:如果这不仅仅像我对query_posts所做的那样添加一个单行,我为我的无知表示歉意。 I would dig deeper if I only knew where to start
如果我只知道从哪里开始,我会更深入
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.