neve
neve copied to clipboard
Infinite scroll loads normal posts on CPT archive
Description
If i have a CPT created, an archive page for it and the Infinite scroll setting enabled, the new loaded posts will be normal posts instead of CPT posts https://vertis.d.pr/v/uLTiUx - The posts loaded on the CPT archive are the same that were loaded on the Blog archive
Ticket - https://wordpress.org/support/topic/infinite-scroll-on-custom-post-type-archive-page/
Step-by-step reproduction instructions
- Create a CPT and enable the archive for it
- Create some posts for that type so the Infinite scroll can be triggered (You can also decrease the posts per page number in Dashboard > Settings > Reading)
- Go to the CPT archive and check which posts are rendered when the infinite scroll is triggered
Screenshots, screen recording, code snippet or Help Scout ticket
https://vertis.d.pr/v/uLTiUx
Environment info
Neve 3.7.3 / WordPress 6.4 / PHP 8
Is the issue you are reporting a regression
No