Wordpress multisite,未找到js
我有一个多站点的内部主题(所有站点的唯一主题),我将这样一个脚本放入队列:Wordpress multisite,未找到js,wordpress,multisite,Wordpress,Multisite,我有一个多站点的内部主题(所有站点的唯一主题),我将这样一个脚本放入队列: wp_enqueue_script('tweenlite-script', get_template_directory_uri() . '/js/tweenlite.js',array(), $js_version, true ); 在我创建的第一个站点中,加载了此脚本,但第二个站点没有加载此脚本 这是我的wp配置,如: define('MULTISITE', true); define('SUBDOMAIN_INS
wp_enqueue_script('tweenlite-script', get_template_directory_uri() . '/js/tweenlite.js',array(), $js_version, true );
在我创建的第一个站点中,加载了此脚本,但第二个站点没有加载此脚本
这是我的wp配置,如:
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'xxxxxxx.fr');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define('WP_ALLOW_MULTISITE', true);
define('WP_HOME','xxxxxxx.fr');
define('WP_SITEURL','xxxxxxx.fr');
有人已经有这个问题了,还是我错过了什么?多谢各位