правки test1
This commit is contained in:
@@ -438,7 +438,7 @@ function twentytwentyfour_test1_assets() {
|
||||
);
|
||||
}
|
||||
|
||||
if ( is_page( 'test1' ) && file_exists( $js_file ) ) {
|
||||
if ( ( is_front_page() || is_page( 'test1' ) ) && file_exists( $js_file ) ) {
|
||||
wp_enqueue_script(
|
||||
'twentytwentyfour-test1-script',
|
||||
home_url( '/index3.js' ),
|
||||
|
||||
Reference in New Issue
Block a user