Martin Tod
Forum Replies Created
-
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Carousel not rotatingSomething odd is happening at the end of the page – since
</body>and</html>aren’t on the page either.Is the
footer.phpfile being called into the template?Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Carousel not rotatingIt’s not appearing in the HTML.
Is wp_footer() in the template somewhere as well?
How have you put Rotating Tweets onto the page?
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Carousel not rotatingFor some reason the JavaScript isn’t loaded on the page.
On the settings page, is Rotating Tweets set to load in the header or the footer?
Does your template include the wp_head() and/or wp_footer() functions in it?
If you want one sideways scrolling tweet, I’d suggest something like:
[rotatingtweets screen_name="connected_uk" rotation_type="scrollLeft"]The carousel format is only for showing multiple tweets.
It should go after.
Language identification is controlled by Twitter. I haven’t really tested it to see how reliable it is – or even how much different this tweak to the code makes.
It’s pretty trivial to implement on searches. Change line 1191 to:
$apioptions['lang']='en';
and that should work nicely.It’s a lot harder to implement on regular queries.
It’s possible in theory – though not yet implemented!
The Search API lets you set the language – and Tweet objects are sometimes (not always) language coded as well so it should be possible to filter on them.
Good idea for the future.
You need to use version 2 of the JavaScript.
It’s on the Rotating Tweets settings page.
Hi Ian,
Currently it only shows information sent back by Twitter – and, when I last looked, that does include media, but doesn’t include Twitter card info – although I will recheck this.
The first thing I’ll be looking to do is provide more info on quoted tweets – since all the info in a retweet is sent back – but unless it’s a straight retweet RT currently only shows the link.
It will be a major upgrade though! And hard to manage with backward compatibility!
Best wishes,
Martin
If you get a chance to retry the plug-in and tell me whether it works for you, that would be great!
That’s interesting. Do you use a caching plug-in? That might have had that effect.
PS: If you’re interested in contributing to Rotating Tweets, there’s also this!
It’s still working, so I’ll mark this as resolved.
It would be great to know what you did to fix it!
Not sure what you’ve done, but it’s working fine now on my browser.
PS: A temporary solution might be to switch to version 2 of the JavaScript on the settings page.
Normally the ‘is not a function’ problem happens when jQuery or the jQuery.cycle script is overwritten somehow, but this isn’t obviously happening in this case.
- This reply was modified 8 years, 7 months ago by Martin Tod.