把这些
__initLivescore({"c1":"F0F0F0","c2":"BABCC3","c4":"FFFFFF","c5":"FFFFFF","c6":"C90000","affiliate_id":"0","menu":"1","sportFK":"1","odds":"decimal","lang":"3","timezone":"AUTO","selected_tab":"all"});
在类似js的演示中编写代码。js文件。然后使用wp\\u enqueue\\u脚本并将此文件排入队列
wp_enqueue_script( \'script-name1\', \'http://unibet-affiliate.enetscores.com/xjs/hour/theme/affiliate/361/client\');
wp_enqueue_script( \'script-name2\', plugin_dir_path( __FILE__ ) . \'/demo.js\', array(), \'1.0.0\', true );