I am not able to see the content of my WordPress pages. Only header and footer is showing on my web pages.
When I am visiting these pages I am not able to see any content except header and footer part. Also I am not able to edit the content of pages from page editor because its showing blank screen and not loading the editor panel. See below screenshot:
The strange thing is that when I change the theme of my website then everything is working fine. I have a doubt there is some problem in my current theme but I don't know what the issue is. Please help me in resolving the query.
I am not able to see the content of my WordPress pages. Only header and footer is showing on my web pages.
When I am visiting these pages I am not able to see any content except header and footer part. Also I am not able to edit the content of pages from page editor because its showing blank screen and not loading the editor panel. See below screenshot:
The strange thing is that when I change the theme of my website then everything is working fine. I have a doubt there is some problem in my current theme but I don't know what the issue is. Please help me in resolving the query.
Share Improve this question edited Apr 24, 2019 at 21:12 norman.lol 3,2413 gold badges30 silver badges35 bronze badges asked Apr 24, 2019 at 12:04 ashishabgashishabg 11 bronze badge 2- 1 There's not enough information here for someone without access to your site to diagnose. You have taken a good troubleshooting step in switching themes and discovering that some code in your theme is affecting those pages. See if you can isolate it further, i.e. instead of disabling the entire theme, try removing sections of code that may have to do with page content. When you find a section of code that seems to be the culprit (removing it fixes the error, replacing it makes it happen) share that code with us. – tmdesigned Commented Apr 24, 2019 at 12:21
- Welcome to WordPress Stack Exchange! We love to help you. Problem is when you don't know what the issue is, how should we know from afar? We need a reproducible problem. That said, as your question is currently written it simply is too broad. Also please don't include links to your live site as they may be considered malicious or spam and have no value as soon as your issue got fixed. – norman.lol Commented Apr 24, 2019 at 20:05
1 Answer
Reset to default 1Yes this is most certainly an issue with your theme then.
To figure out what the error is (assumption is it's a JavaScript error), right click anywhere on the page, and then select Inspect
This will open the developer tools window, click on the Console tab, and then refresh the page. You should see some type of error in red that probably gives a slight bit of detail as to what the error is.
You should then contact your theme developer for support and provide them with details as to the issue you're having, plus anything you found in the console