MWDelaney / sage-acf-wp-blocks

Composer library for generating ACF Gutenberg blocks from templates. Intended for use with Roots/Sage (http://roots.io)
347 stars 65 forks source link

Load blocks from parent theme #76

Open Dathix opened 1 year ago

Dathix commented 1 year ago

Hey Michael, first of all, thanks for your work so far!

I am currently testing Child Theme support in Sage 10 and discovered that none of my blocks of the parent theme was loaded inside the child theme. Providing the folder with get_template_directory() via the sage-acf-gutenberg-blocks-templates filter doesn't work because of https://github.com/MWDelaney/sage-acf-wp-blocks/blob/master/sage-acf-gutenberg-blocks.php#L34.

Do you think we can somehow make this work? Please let me know if you would like me to make a proposal.