[英]How to correctly dequeue certain Elementor css files in Wordpress?
[英]where to add the css and js files in the wordpress elementor pages
我使用我的HTML创建的elementor页面,其中包括重定向到外部CSS和JS文件。
例如 :
我的元素页面上有"script src='script.js'"
和"link rel='stylesheet' href='style.css'"
在哪里放置script.js
文件和style.css
文件?
在主题文件夹中创建一个类似于“ js”的目录,并将脚本放入其中。 在代码/模板中,路径看起来像
<?php bloginfo('template_directory'); ?>/js/script.js
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.