I’ve created a WordPress theme by pulling apart a finished HTML theme. This WordPress site will be used for CMS only with no posts, comments, etc. The frontend actually will not use any real blog features for the time being. I was able to set this all up using the codex.wordpress.com site with no problems. I was able to get posts and comments to appear and then later disabled them. But I can’t get the page content to appear.
It is a real simple site with just a header, sidebar, index(content), and footer. The sidebar will have five links in it. I’ve created pages for these links, inserted the code to call for pages, sorted them properly, etc. But when I click on a link the content area is blank. Header, sidebar, and footer remain, but the code for the content area clearly doesn’t call on the page properly.
I copied over code from other basic themes thinking that would work, it did not. So I am definitely not understanding something.
What code do you think I am missing? Missing from page.php and maybe index.php? I just need code to display page content. There will not be any posts, comments, etc., within this page content.
- The topic ‘Page content not showing, looking for proper code’ is closed to new replies.