the_content(); not displaying content
-
Hi,
I went through dozens of threads here referring to the same issue, but none of the solutions proposed worked in my case.The issue is with a home page that uses a custom template.
You can see this template code here: https://pastebin.com/K7VWZXKUI tried echo $id; immediately before the_content; and it does return the page ID (which seemed to be the issue for some other folks who posted).
I also tried setup_postdata($post); before the_content; and it didn’t change a thing.
I tried echo $post->post_content; instead of the_content; and still get nothing.Please note, I am working on a client’s website that is live, on a theme someone else designed, because I was hired to make a few tweaks. I am not able to change the theme (I don’t even have admin privileges, I’m uploading changes through FTP), disable plugins or do anything else that could compromise the website’s functionality.
I would appreciate any insight into this problem!
- The topic ‘the_content(); not displaying content’ is closed to new replies.