admin管理员组文章数量:1026103
I have a custom post type, Company, with respective company child pages.
Whenever I attempt to go to a page url eg. , the /page/2/ gets striped from the url. ?page=X also gets removed. This occurs regardless of the page query I'm using.
Other query vars are respected.
Debugging reveals the current page number is 0, other parts of the queries work fine.
/page/X works as expected on other archive pages
I have a custom post type, Company, with respective company child pages.
Whenever I attempt to go to a page url eg. , the /page/2/ gets striped from the url. ?page=X also gets removed. This occurs regardless of the page query I'm using.
Other query vars are respected.
Debugging reveals the current page number is 0, other parts of the queries work fine.
/page/X works as expected on other archive pages
版权声明:本文标题:wp query - Wordpress doesn't respect Page slug in custom post type url pagination. Keeps getting removed 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745633776a2160318.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论