最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Wordpress load same script two times

programmeradmin3浏览0评论

I write a basic plugin with custom css/js. I use wp_enqueue_script for my custom script and use hook 'init' to register script in front-end page. But wordpress load this javascript file two times with different version. ( See in image ) And I don't know why. I load this script one time and load it in one point of my code.

I have tried clean cache wordpress, cache browser, but nothing do.

My site is esposte online : / I write plugin to use add_shortcode function to create form; shortcode for the form in this page (articolo-prova).

Best regards,

发布评论

评论列表(0)

  1. 暂无评论