Support » Plugins » Hacks » How do I make a cutom post type the static homepage in wordpress?

  • Resolved joncalex


    I’ve created a custom post type via the functions.php. Now I want to make one of those the homepage. If I go to Settings > Reading The only choices I have are the page types.

    The list of pages we see in that select menu is coming from the ‘wp_dropdown_pages’ function in wp-admin/includes/template.php line 1010

    The function is called in wp-admin/options-reading.php on line 60

    Does anyone have any ideas of how this could be done? I’d rather not hack core. I’m not sure if there is a plugin override for this. Just to check, I looked at the the more types plugin and that one doesn’t have a feature for this.

Viewing 1 replies (of 1 total)
  • make a page template, use query_posts to call the custom post type, make a new page to be your home page, assign it the new template which is querying your custom post type, make that new page your static front page

Viewing 1 replies (of 1 total)
  • The topic ‘How do I make a cutom post type the static homepage in wordpress?’ is closed to new replies.