Products
GG网络技术分享 2025-03-18 16:12 6
I created with the elementor page with mine HTML that includes redirect to external css and js files.
example :
my elementor page have \"script src=\'script.js\'\"
and \"link rel=\'stylesheet\' href=\'style.css\'\"
Where to put the script.js
file and the style.css
file ?
图片转代码服务由CSDN问答提供
感谢您的意见,我们尽快改进~
功能建议我使用包含重定向到外部css和js文件的我的HTML元素页面创建。</ p> \\ n
示例</ em>:</ p>
我的元素或页面有“script src =\'script.js\'”</ code>和
“link rel =\'stylesheet\'href =\'style.css\'”</ code> </ p>
script.js </ code>文件和
的放置位置 > style.css </ code>文件?</ p>
</ div>
Make a directory like \\\"js\\\" in your theme folder and put the scripts in there. In the code/template the path looks like
<?php bloginfo(\'template_directory\'); ?>/js/script.js
Demand feedback