In my wordpress site, I added
<?php query_posts( 'post_type=sword'); ?>
above my loop, so my custom post type 'sword' now shows. 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. I would dig deeper if I only knew where to start
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.