whiteboxer
Member
Posted 4 years ago #
I'm building a site where the blog sits in an interior page (News) instead of the home page. I'm using a template called "home" for the home page, and the Default Template for the blog index page.
In Options>Front Page>Front Page Displays, I selected the Home page for the front page, and the News page for the posts page. The problem is that the posts don't appear on the News page (Your latest posts is selected). And when I switch to "Front Page Displays Static page" the home page appears in place of the News page.
How do I get the posts to display properly?
If you want a static "Front Page", you must select the radio button for "A Static Page" in the reading options. Then select "Home" for the front page and "News" for the posts page.
That is the right way to do. You can view it working in my web site.
HTH.
S.K
whiteboxer
Member
Posted 4 years ago #
when I do that the News page displays the home template instead of the default template. I need it to display the default template. How do I fix that?
What is the "default template" ?
You can assign "default" template to "news" aka posts page and "home" template to Home Page in the Admin > Edit Pages > Page Template (Drop down menu).
S.K
I was asking the OP not you...
whiteboxer
Member
Posted 4 years ago #
The default template is the same as the typical default template with WP (includes post, entry, etc.). Here's a link including screenshots of various admin screens if it helps.
http://www.drgbrokerage.com/screenshots.htm
Here's the URL for the News page, which is displaying the home template (compare to home page) instead of the default (all the other pages)
http://www.drgbrokerage.com/?page_id=5
I don't see the Page titled Home in your Pages list... (on the screenshot)
whiteboxer
Member
Posted 4 years ago #
whiteboxer
Member
Posted 4 years ago #
I got it solved. After digging through the archives for a couple of days, the issue is the home page template is named home.php, which is causing the problems. I renamed it main.php, replaced the home.php with it, and its working fine now.