Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jQuery推文插件自定义模板不工作_Jquery_Jquery Plugins_Twitter - Fatal编程技术网

jQuery推文插件自定义模板不工作

jQuery推文插件自定义模板不工作,jquery,jquery-plugins,twitter,Jquery,Jquery Plugins,Twitter,我正在使用SeaofClouds的Tweet插件(可在上找到) 代码很简单: $(document).ready(function(){ $('#twitter_feed_chad').tweet({ avatar_size: 24, count: 1, username: "<? echo $settings['twitter'][0]?>", template: "{text} » {retweet_acti

我正在使用SeaofClouds的Tweet插件(可在上找到)

代码很简单:

$(document).ready(function(){
    $('#twitter_feed_chad').tweet({
        avatar_size: 24,
        count: 1,
        username: "<? echo $settings['twitter'][0]?>",
        template: "{text} » {retweet_action}"
    });
    $('#twitter_feed_ian').tweet({
        avatar_size: 24,
        count: 1,
        username: "<? echo $settings['twitter'][1]?>",
        template: "{text} » {retweet_action}"
    });
});
$(文档).ready(函数(){
$('twitter\u feed\u chad')。tweet({
头像尺寸:24,
计数:1,
用户名:“”,
模板:“{text}»{retweet_action}”
});
$('twitter\u feed\u ian')。tweet({
头像尺寸:24,
计数:1,
用户名:“”,
模板:“{text}»{retweet_action}”
});
});
HTML是直接的

<h4>Chad's Tweets</h4> 
<div class="grid_6 alpha omega footer_twitter_feed" id="twitter_feed_chad"> 
</div> 
<h4>Ian's Tweets</h4> 
<div class="grid_6 alpha omega footer_twitter_feed" id="twitter_feed_ian"> 
</div> 
Chad的推文
伊恩的推特
但是我无法更改模板-它保持默认状态,首先显示tweet的时间(大约一小时前等),然后显示tweet文本,并且根本没有转发链接


有问题的站点位于

保持默认状态可能表明您从服务器获取的数据可能有问题,代码的PHP部分也可能有问题。试着写出整个标记,看看是否有任何变化,例如
,因为可能是您的PHP设置被禁用了。并查看是否可以在
$(document).ready(function(){