[Resolved] Possibility block patterns in a “patterns” folder?

Home Forums Support [Resolved] Possibility block patterns in a “patterns” folder?

Home Forums Support Possibility block patterns in a “patterns” folder?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2393714
    Hans-Gerd

    Hi,
    I wanted to use the relatively new option to store block patterns in a “patterns” folder below the theme folder of generatePress (for example see here: https://fullsiteediting.com/lessons/introduction-to-block-patterns/#h-how-to-create-block-patterns).

    This works for block themes, but unfortunately this folder gets deleted when GeneratePress updates. I could use another solution for this (like Child Theme), but I like this solution better in itself. Is there a solution so that the folder is not deleted during a theme update?

    Thanks

    Best regards,
    Hans-Gerd

    #2393814
    David
    Staff
    Customer Support

    Hi there,

    whenever a Theme is updated, WordPress overwrites the entire folder, it’s not something we can change.
    You would need to use a child theme or a plugin.

    #2394670
    Hans-Gerd

    Hi David,
    thanks for answer.
    BTW: Do you mean a plugin like BlockMeister – Block Pattern Builder (https://de.wordpress.org/plugins/blockmeister/)?
    Best Regards,
    Hans-Gerd

    #2395957
    Hans-Gerd

    Hi,
    has been resolved. I have written my own plugin for this. Thanks
    Best Regards,
    Hans-Gerd

    #2396323
    David
    Staff
    Customer Support

    Glad to hear that!

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