Archived topic
Change post per page - custom post type archive page. Element templates skipped
34 replies · Started by Brad on February 2, 2022
https://blocks-01.j66labs.co/category/campaign/
Interesting. Once I add categories in CPT UI to “Photograph” and add a category such as “campaign”, it throws an extra Element Content Template into single-photography.php AND it doesn’t show up in the category page.. strange.
That’s alright though. I’m only going to use “showcase” cpt on my main site. Why this is happening IDK. I’m more than happy to try to figure it out with you. I know this thread is just keep going though.
This archive actually displays mixed post types.
See this screenshot - https://share.getcloudapp.com/llu6Lk4r
The first 6 just happened to be from CPT showcase probably because if they're sorted by date, these first 6 are the newest ones.
The last one on the list is from the default post type.
Yes true
The photography one is acting weird. No worries though. Sincerely appreciate all your help. Your call if you want to try to figure out why second cpt to acting weird. I’m fine either way. Working all day. No worries trying another day in the future or just closing the ticket. Sincerely.
Your call if you want to try to figure out why second cpt to acting weird.
It's likely related to the pre_get_posts. :D
You can re-open this topic if you wish to push through with it. :)