From 31786581bd6a5b4a5f2de1fcfa4786669eb2e680 Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Tue, 21 May 2024 03:38:18 -0600 Subject: [PATCH] Update path to static files of ACF block. --- platforms/wordpress/templates/Template_Basic_Component.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/wordpress/templates/Template_Basic_Component.php b/platforms/wordpress/templates/Template_Basic_Component.php index 100724d..cb873c0 100644 --- a/platforms/wordpress/templates/Template_Basic_Component.php +++ b/platforms/wordpress/templates/Template_Basic_Component.php @@ -50,13 +50,13 @@ class <%= blockClassModel %>_Component extends \Core\Component { 'style_assets' => [ [ 'name' => 'block-<%= blockFilename %>', - 'url' => null + 'url' => $this->get_assets_path_url( 'templates/styles/<%= blockFilename %>.min.css' ), ] ], 'script_assets' => [ [ 'name' => 'block-<%= blockFilename %>', - 'url' => null + 'url' => $this->get_assets_path_url( 'templates/scripts/<%= blockFilename %>.min.js' ), ] ] ] );