0

I'm just looking for guidance on where to start looking for problems. This isn't a site I developed, but since I know some about Wordpress, I'm helping out.

Initially my suspicion was a plugin or theme. Like this question suggests -- Site content not showing

However, one thing I noticed is that when I logged in via wp-admin and then view the site, everything is as expected.

Has someone encountered this before, where all content shows once logged in, but only the header and footer show when not logged in?

4
  • I've seen this and it was down to a plugin that had memberships or content restrictions or user access restrictions. It could also be some custom coding in a theme that attempts to restrict who can see what and when. Kinda hard to diagnose beyond a vague and really general answer without more info. If you inspect the code, is it loading the content in HTML and just not displaying it? Or is it NOT loading the content at all? If it's not, find the template of one of the pages you're looking at and see if there are restrictions around the code that outputs the_content(). Dec 22 '20 at 4:16
  • You could also just look to disable the plugins one by one and see if the content shows up. Dec 22 '20 at 4:17
  • Thanks @TonyDjukic yeah, it's loading the content in HTML and just not displaying it. I'll try disabling the plugins one by one like you mention.
    – L P
    Dec 22 '20 at 17:26
  • Ok, if the content is there in the HTML then you either have a CSS rule hiding it or there’s other elements overlapping it. I’d comb through the CSS in Dev tools and see if I could get it to display. Look for “display:none”, “visibility:hidden”, look for “z-index” on the content elements or those that overlap it, look for “heights” that are way too small. Dec 22 '20 at 17:29
0

Turns out disabling the 'Fast Velocity Minify' plugin fixed the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.