I tried enqueuing a custom js file as per @justlevine suggestion: Best practice would be to either create something like inc/Scripts/Component.php, or if it's related ...
Migrate wp_enqueue_style_block () content to including CSS and JavaScript page #451 justintadlock opened this issue Sep 15, 2022 · 13 comments Assignees Labels themes Issues for Theme Developer ...