Quantcast
Viewing all articles
Browse latest Browse all 31580

_rg_ on "[Plugin: AI Twitter Feeds (Twitter widget & shortcode)] Uncaught ReferenceError: twttr is not defined"

Hi, working on WP 3.6 and last updated plugin version 2.0.
I´m using shortcode this way:

<?php echo do_shortcode("[AIGetTwitterFeeds ai_username='CayenneRedMedia' ai_numberoftweets='10' ai_tweet_title='']"); ?>

And chrome console give me this error:

Uncaught ReferenceError: twttr is not defined

For what i see, the plugin, or de tw api, insert this into the html:

<p class="thinkTwitFollow"><a href="https://twitter.com/CayenneRedMedia" class="twitter-follow-button" data-show-count="false" data-dnt="true">Follow @</a></p><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");twttr.widgets.load();</script>

There is where twttr.widgets.load() is called and there is the error.

Any ideas on why or how to solve this issue?

https://wordpress.org/plugins/ai-twitter-feeds/


Viewing all articles
Browse latest Browse all 31580

Trending Articles