We have a site that is doing something a bit weird - for one CPT (and one only) it’s not showing any output of the existing posts, even for a really simple template like this:
<Loop type=banking_guides>
<Field title />
</Loop>
If I change the type to any other CPT it works fine.
The CPT name is correct and I’ve added new posts to that CPT and they do show up, so it’s only existing content that just won’t display and I have no idea why. There’s no difference between the old and new content that I can tell.
It probably won’t make any difference, but you can try targeting an older post by ID to debug the issue:
<Loop type=banking_guides id=12345>
<Field title />
</Loop>
Maybe some custom field content on the older posts is causing an issue. I would also try setting an old post to draft and then re-publish to see if that makes any difference.
Well, it seems that L&L can access the older post data but doesn’t think it should be included in a default loop for some reason.
You could try playing with some of the other post loop parameters to find a workaround, such as the publish_date or author parameters. There might be an issue with the default loop for this CPT.
It’s definitely an odd issue, I think we’d likely need access to the site to figure it out.
If it’s worth it to you for us to take a look you can DM me the details.