任何人都可以帮助我使用 wp_print_scripts、wp_enque_scripts、wp_head、wp_register_script
我希望我的脚本和CSS文件分别添加到页脚和页眉中,理想情况下它们也应该最小化和压缩,我认为这些功能可以提供帮助,但我不知道使用它们。有人可以帮我解决这些问题吗?
wp_print_scripts, wp_enque_scripts, wp_头, wp_注册脚本
I want my scripts and css files to be added in the footer and header respectively, ideally they should be minimized and compressed too, I think these functions can help but iI am not aware of using them. can anybody help me with these ?
wp_print_scripts,
wp_enque_scripts,
wp_head,
wp_register_script
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要的所有信息都在 http://codex.wordpress.org/、示例、用例和更多的 :-)
All info all you need is in http://codex.wordpress.org/, examples, use cases and more :-)