WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type Page as Home Page (3 posts)

  1. relish1227
    Member
    Posted 3 years 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.

  2. relish1227
    Member
    Posted 3 years 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?

  3. myaleigh
    Member
    Posted 3 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic