为什么不在HTML内容中添加我需要的脚本?
Here are few reasons for WHY!
if(is_page() || is_single()){ wp_enqueue_script(......); }
因为插件也需要一种添加脚本的方法。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.