set posts page to (blog) page but not the home page
-
I have indicated in the reading settings that I would like to have the Front page be (none) and have the posts page show up on a page called BLOG. The problem is I dont want the blogs to show up on the home page (index.php, home.php) I want to create a custom front page and pull all the pages in one page( parallax) Is there a way to setup the (home.php, index.php, home-page.php) so it is a custom page?
this code doesn’t seem to do anything if i place it in home-page.php
if ( ‘posts’ == get_option( ‘show_on_front’ ) ) {
include( get_home_template() );
} else {
include( get_page_template() );
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘set posts page to (blog) page but not the home page’ is closed to new replies.