We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d08227 commit 62cf5d7Copy full SHA for 62cf5d7
src/init.php
@@ -159,9 +159,9 @@ public function load_frontend_scripts_conditionally_head() {
159
stripos( $post->post_content, '<!-- wp:stackable/' ) !== false ||
160
stripos( $post->post_content, 'stk-highlight' ) !== false
161
) {
162
- // Enqueue our main css.
163
- $this->register_frontend_assets();
164
- wp_enqueue_style( 'ugb-style-css' );
+ // Enqueue our main scripts and styles.
+ $this->block_enqueue_frontend_assets();
+ $this->is_main_script_loaded = true;
165
}
166
167
0 commit comments