palmiak / timber-acf-wp-blocks

Create Gutenberg blocks from Twig templates and ACF fields.
https://palmiak.github.io/timber-acf-wp-blocks/
MIT License
243 stars 25 forks source link

Handling logic for child theme block adding #58

Open JeStew opened 2 years ago

JeStew commented 2 years ago

This is my first ever PR to an open source project, be gentle please!

Hopefully this is not too amateur PHP writing- but this essentially allows one to create an identical directory in a child theme and have those blocks added to the blocks that exist in the Parent blocks directory, without explicitly sending a directory path through the filter option.

Please let me know if you have any feedback, comments or critique!