• Hello!

    I’d love to be able to set a static front page for custom post types. To clarify, I’m not talking about using a custom post type for the site home page. I’m talking about setting a specific custom post type’s post instead of having an archive for the root of the custom post type.

    So let’s say you have a custom post type with rewrite slug /custom, and you have a post in that post type called Home. You might want to set that post as the static front page of that post type, so that its permalink is /custom instead of /custom/home.

    At present, you can only do something kinda sorta similar to this by disabling the custom post type archive and creating a post of the built-in Page type, with slug “custom”. Unfortunately then the root page of that custom post type isn’t actually of that post type, and some weirdness and hackery ends up happening in a variety of places.

    Thanks!

    Jacob

Viewing 1 replies (of 1 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    That’s not possible in WordPress.

    Let’s say you register a Post Type with generatewp.com… It would not be possible either.

    Unless of course, you somehow hack together a redirect from the archive to a specific Post.

Viewing 1 replies (of 1 total)
  • The topic ‘Static front page for post type’ is closed to new replies.