relish1227
Member
Posted 1 year ago #
Hi. I am trying out Custom Pages Types.
I have create a new one called "Home Page" -- because I want to have a way to add special fields to this type of page. I have created one page using this new Custom Type -- but it doesn't appear in the Settings > Reading Settings > Front Page dropdown. I would have expected that it would have, since I set its capability_type to "page."
Any clues on how to allow this new page to be my home page?
Thanks.
relish1227
Member
Posted 1 year ago #
I guess one way to do it is to just create a home.php that pulls in the particular new page's content? Is this the best way to do this?
myaleigh
Member
Posted 1 year ago #
Typically, what I do is create a new page template called front-page.php, create a new page titled "Home Page" under the default "Pages" panel then go to Settings > Reading > and select "Home Page" from the dropdown.
Here's a link to WPBeginner.com's tutorial for creating a custom home page in case you want to read through what they do. And here's WP's page about the subject.