• Hi,

    I am new to using blocks but I’m trying to update my website. I was using Advanced Custom Fields before to create custom posts and pages with pre-defined content fields.

    Using “Appearance > Editor > Templates” I have added a Custom Post Template. I have added some blocks (Title, Gallery, Content). When I create a new post using this template or swap an existing post to this template, I expect these blocks to appear so I can fill them with information.

    However, the editor is blank and I have to start by adding new blocks. When I preview the post, I can see that my pre-defined blocks are being added at the bottom of the post with exactly the content I gave them in the template editor.

    What is the point of the template if my pre-defined blocks don’t appear for editing?

    Am I missing the point of these templates?

    I just want to have pre-defined blocks so that I can easily add the correct title, images and text for each post using that template (just like with ACF before).

    I created a child theme based on twenty twenty-three, but I am not sure that is even relevant at this point.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter touto

    (@touto)

    Edit: I created a custom pattern with the blocks I want. However, WordPress freezes every time I try to add it to a post. This is happening in on a local environment (using Local WP) and using a clean install of WP, i.e. no plugins installed. Tried on Safari and Chrome.

    So I still don’t know if this is how it works. Adding other patterns is working and for some reason, the new added pattern appears as part of my custom pattern when I want to add it to my post, which doesn’t seem logical to me. My blocks still don’t appear.

    Moderator jordesign

    (@jordesign)

    What is the point of the template if my pre-defined blocks don’t appear for editing?

    Am I missing the point of these templates?

    Hi @touto – it does sound like you may misunderstand a little. Adding blocks to the template does not automatically make them editable/changeable fields in the way you mentioned. Blocks like the Post Title Block and the Post Content Block both do work that way – but it’s not the same when just inserting gallery or paragraph blocks.

    Using patterns can be a helpful thing – if they are unsynced you can essentially insert them as a starting point for each post, and swap out the details.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.