admin管理员组文章数量:1419648
Using the Ultimate Member plugin. My custom scripts are loading in my child-theme as follows:
function some_theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_script('my-scripts', get_stylesheet_directory_uri() . '/js/my-s.js', array(), '', true);
}
add_action( 'wp_enqueue_scripts', 'some_theme_enqueue_styles' );
I'm trying to remove this plugin, but after deactivating it, my custom scripts stop loading (not CSS, just JS files). Been Googling for a while and can't seem to find an answer. Any idea?
本文标签: child themeScripts don39t enqueue after removing plugin
版权声明:本文标题:child theme - Scripts don't enqueue after removing plugin 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745311940a2652973.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论