AyeCode / blockstrap

A bootstrap block based theme
GNU General Public License v2.0
3 stars 2 forks source link

Pattern filters #23

Open RachidBray opened 1 year ago

RachidBray commented 1 year ago

Reference: https://github.com/AyeCode/directory/blob/48444aa282f81431571780760b2159e3638c69b4/includes/pattern-filters.php

I believe this can be fixed if you include patterns in parent theme using the patterns/ folder method (Check out this : https://developer.wordpress.org/themes/advanced-topics/block-patterns/#using-the-patterns-directory-to-register-patterns)

In child theme all you need is to override it using same slug.

Stiofan commented 1 year ago

i think i removed most of the theme tags so it should work anyway, I think this was added before WP made some changes there, probably not required now but lets keep for now.