-
jjma100
Hello,
I’m trying to solve something which should be straightforward. I have a loop template for a custom taxonomy and am using the query loop block. I have selected Query type as post query, and ticked “inherit from template. I have added a dynamic header to show the post title.
However when I go to the category page no posts from that category show?
J
-
Hi there,
Can you provide an admin login so we can check the backend setup?
Let me know 🙂
-
jjma100
Sent info.
-
Can you disable all cache on the site, including server-level cache, while I am inspecting the site’s backend?
Thanks! The site has a very heavy cache, it might be related to the query loop not output issue.
-
jjma100
I have disabled all the caching on the site.
Please let me know when I can turn it back on.
-
I tried disable the loop template, and the page returns as 404.
So it looks like the archive itself does not contain any posts. Can you check?
-
jjma100
There are posts. Check ‘All Polyphenols’ and you’ll see posts there. The category archive should be puppling in the category that is clicked i.e hydroxytyrosol. There should be 2 posts shown on this category page.
-
Can you try disablling the loop template and check the archive page?
If you are also seeing a “nothing found” page, please try disabling all plugins except GP Premium, GB and the plugin that creates the CPT to test.
Let me know how it goes!
-
jjma100
I disabled the loop template and saw a nothing found page. Disabled all the plugins except the ones required but the category posts are still not rendering.
I created a staging site for testing (see private box) to see what it is that is stopping the posts being created.
-
I cannot find an obvious issue with the registration of the CPT and custom taxonomy.
I tried switching to the twenty-twenty-four theme, but the issue (no posts showing on the custom taxonomy term archive) persists, so it’s not a theme issue.
I would recommend checking with ACF’s support on this one, as the taxonomy and CPT are created by ACF plugin.
Keep us updated!
-
jjma100
Managed to make it work by duplicating the post type, moving all the posts to the new post type, deleting the original post type, renaming the new post type slug to use the deleted ones and then moving all the posts back into the renamed post type!
Posts now show on the archive and category archive pages.
J
-
Glad to hear that 🙂
- You must be logged in to reply to this topic.