Nothing Showing on posts
-
I’m redoing a site that has your plugin and noticing that none of the content of the posts is populating. See all of the resources on the link provided.
I did try disabling all of the other plugins and the issue remains. I am using a different theme than on the live site. So I don’t think it is an incompatibility. I am probably just missing something in settings.
The page I need help with: [log in to see the link]
-
As long as you still have all the post content for these posts in the database, like when editing them, then you should be fine overall. The question is going to end up being what’s going on with the template files themselves for this. Based on what I can see, it looks like possibly the WordPress loop is missing, or there’s at least no usage of the
the_content()function which would be what outputs the post’s content. Possible that you were doing something around single blog posts where you didn’t want that, but these are now being affected because it’s using the same template file?There is no telling what they did. I took it over and made a copy of the existing site. They have the posts populating on an old-school homepage that I have redesigned. Maybe the developer did something to enable that and at the same time, it disabled it to work the normal way?
How do I fix this? Any idea?
Impossible for me to tell as I don’t have access to see what’s going on with the theme files, but those theme files would be where recommend starting with.
Any page builder in use at all? That could be playing their parts as well.
OK I understand. I changed the theme so it is something that carried over from duplicating the other site. I do use a builder (Divi) but the site I copied does not. I’ll see if my theme support can help me if you say the missing function is in theme files.
I changed to the default WP theme and the issue persists! So, my theme support won’t be able to help out.
Can I send you the debug info?
Just for the sake of extra confirmation, when you edit https://bonnieb5.sg-host.com/resource/insights-into-the-key-aroma-compounds-in-mango-mangifera-indica-l-haden-fruits-by-stable-isotope-dilution-quantitation-and-aroma-simulation-experiments/ there is actually post content typed in, on the admin side, correct?
Does the theme have a
single-resource.phpfile at all?yes, there is content on all of the custom posts. And the theme does not appear to have that file.
Good, we have at least confirmed that we have posts with content, so now it’s a display/output issue that we’re still trying to track down.
Do you have a single.php file in your active theme?
I do not see that file
Not sure what to suggest at this point then. My best guesses are now things having to do with Divi Builder and perhaps various layouts/templates that have been built in their setup. Perhaps there’s a “single” layout that is missing the module meant to show post content.
I need to stress again that this is an issue with the existing site and is an issue when I switch to the default theme. It does not make sense that it is a Divi issue. Here is the above post that is on the original site using a child theme of “Sandalwood” theme and no added builder:
The thing is is that CPTUI doesn’t do anything on the frontend or interact with the templates in the active theme. We handle the registering of the content types and then get out of the way.
So it’s either the child theme, the parent theme, or something else going on that I can’t identify from here.
If you’d like to elevate this to some private support, we’re more than willing to keep helping there.
You can reach out at https://pluginize.com/contact/ and it’ll make its way to me. Please provide this https://ww.wp.xz.cn/support/topic/nothing-showing-on-posts/ as part of the message so that I can correlate the new ticket with this thread.
Thanks.
OK I submitted the ticket.
Confirmed and will move correspondence there for the time being.
Issue looks to be a case of all the content saved on the posts were in ACF fields, and not the standard editor thus
the_content()would not show anything. ACF Field output needed.
The topic ‘Nothing Showing on posts’ is closed to new replies.