• Resolved curatedlife

    (@curatedlife)


    Hi There,

    I created a new Post Type labelled “Recipe”.

    Previously, I’ve assigned a published page as the blog post archive, with the ability to make edits to the page using the Gutenberg block editor.

    When possible, could you please confirm if it’s possible to edit the new post type archive, “recipe” in the same way.

    Thanks for your help, I look forward to hearing from you.

    Cheers,

    Kylie

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    As is, WordPress doesn’t treat post type archives in the same way as it does the “Posts page” where you can assign a static page to it. It relies on the archive.php template file and if that doesn’t exist, I believe it falls back to index.php.

    That said, I know many people have done something like set “has_archive” to false, and then create a page with that same slug. Then they, in some way, add in a custom query to show the posts from the post type. I could easily see achieving this with the recent “query posts” block, as I believe that has post type capabilities and whatnot.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any changes or successes here @curatedlife ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Edit New Post Type Archive’ is closed to new replies.