whoops, forgot to eneque php
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aadil Ayub 2023-08-29 15:41:54 +05:00
parent 95efe847b8
commit 14d518206e

View File

@ -22,3 +22,10 @@ function autonomic_block_styles() {
add_theme_support( 'wp-block-styles' );
add_editor_style( 'block-styles.css' );
}
add_action( 'after_setup_theme', 'autonomic_block_styles' );
function autonomic_theme_scripts() {
// this is also for block styles
wp_enqueue_script( 'autonomic-block-styles', get_theme_file_uri( '/js/block-styles.js' ), array( 'wp-blocks', 'wp-dom' ), wp_get_theme()->get( 'Version' ), true );
}
add_action( 'wp_enqueue_scripts', 'autonomic_theme_scripts' );