• Resolved mrsamdk

    (@mrsamdk)


    I have created a “Testimonial Block” – a copy paste of the ACF tutorial here: (block.json approach)
    https://www.advancedcustomfields.com/resources/create-your-first-acf-block/

    It works fine and when added manually, it appears on frontend.

    QUESTION / OBJECTIVE
    – When I create a new page OR when a custom template is selected in the backend, i’m looking to do the following:
    –> Automatically (by code) preload/add the “Testimonial Block” (or conceptually any other block) (preferable in locked state) to the Gutenberg editor

    Is this somehow possible?

    • This topic was modified 5 months, 1 week ago by mrsamdk.
    • This topic was modified 5 months, 1 week ago by mrsamdk.
    • This topic was modified 5 months, 1 week ago by mrsamdk.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.