If page.php is used to generate the content, it's not right for me. My Static Page posts don't appear because there's no #content or #footer exists in the page.
Please check the source for http://www.gumbetbeachresort.com
If page.php is used to generate the content, it's not right for me. My Static Page posts don't appear because there's no #content or #footer exists in the page.
Please check the source for http://www.gumbetbeachresort.com
The page.php template is used to generate WordPress PAGE content (static pages).
If you want to use one of your WP Pages as your web site's home or front page, you have to tell WordPress that in Settings.
Thanks, but I've done that and still no content is pulled via page.php.
In one of your template files (mycustompage.php) you should have this:
/*Template Name: My Awesome Custom Page*/
Then, in the WP Admin, edit the page you want to load. Under the "Publish/Update" button, you should see "Template" with a drop down displaying several files, including My Awesome Custom Page.
Thanks. For some reason my custom page template was not working and I created a new template and pasted the code in page.php, now it works.
This topic has been closed to new replies.