WordPress – Block.json editorScript path references plugin directory
I am using block.json in a WordPress theme for each block withhin but the editorScript is referencing the plugins directory and not the theme.
I am using block.json in a WordPress theme for each block withhin but the editorScript is referencing the plugins directory and not the theme.
I'm trying to build a custom Gutenberg Block, which will be rendered dynamically (from PHP). I've spent a significant amount of time searching for different solutions, minimized my code to the absolutely necessary, and still it doesnt work. My main…
EDIT I: I have found the file where the old plugin Woocommerce Blocks sets the blocks: https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/master/src/BlockTypes/FeaturedCategory.php But where is it in the Woocommerce library? EDIT II: Question in short: How do you customize the Woocommerce Blocks to show more…
So I'm using the new WooCommerce Blocks for the first time. On the homepage of my website I've included the "ProductBestSellers" block and the "ProductOnSale" block. Both of these blocks show a grid styled layout for either best selling products…