Martin Tod
Forum Replies Created
-
Hi there,
I’ve just taken a look and when I look at the widget, it’s still displaying, but not rotating. A couple of JavaScripts are showing
Uncaught TypeError $(...).xxx is not a functionerrors in the console [F12] – including Rotating Tweets.Have you changed anything else on the site recently? It could be a clash with another plugin, or an error in another plugin. The other scripts showing an error are in the theme and in Ajax Event Calendar.
Martin
Thanks for highlighting this!
I’ve found the bug and fixed it.
The plug-in was using a function that was introduced in version 4.0 without first checking that the function existed.
Just updating the plug-in to solve the problem now.
The update should be coming through now….
Yes. I’ll check there are no problems and issue an update.
The option will switch off resizing – so you need to set the container height via CSS instead!
Probably something like:
div.rotatingtweets { height: 300px; }- This reply was modified 8 years, 8 months ago by Martin Tod.
That sounds odd. You should be able to load it over the top of the current file.
The only files that have changed are rotatingtweets.php and readme.txt.
I’d suggest downloading the zipfile again – extracting those two files – and uploading again.
Nothing you do should overwrite the settings….
Awesome! Thank you for finding that out.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] not loading images via httpsI’m out of ideas. I’ll have a quick look to see if I have any other support requests that might help.
A final check: definitely not hard-coded without
httpsinwp-config.phpand definitelyhttps(twice) on the/wp-admin/options-general.phpoptions page?Or
auto_height=0(I’ve made it work the same way as the other options).
- This reply was modified 8 years, 8 months ago by Martin Tod.
It might need some work on the CSS. The script that does the rotation is here – I’m still not clear that we can solve the problem, but if it is, this is the best place to start.
PS: This all assumes you are using version 2 of the JavaScript…
I’m pretty sure the only option for making this work will either be some kind of carousel – or making the ‘container’ narrower (via setting a
max-widthfor.rotatingtweets). Every other option will size each Tweet to the full width of the container and the full width of the area you’ve put Rotating Tweets.What about adding
carousel_responsive=1:[rotatingtweets screen_name='umcqtr' exclude_replies='1' tweet_count='15' rotation_type='carousel' carousel_horizontal=1 carousel_count=2 carousel_responsive=1 speed=10000 timeout=0 show_meta_timestamp='0' show_meta_screen_name='0' show_meta_via='0' ]- This reply was modified 8 years, 8 months ago by Martin Tod.
- This reply was modified 8 years, 8 months ago by Martin Tod.
I think your best bet is probably to try a carousel.
Try something like:
[rotatingtweets screen_name='umcqtr' exclude_replies='1' tweet_count='15' rotation_type='carousel' carousel_horizontal=1 carousel_count=2 speed=10000 timeout=0 show_meta_timestamp='0' show_meta_screen_name='0' show_meta_via='0' ]Does the development version solve the problem?
Try adding
auto-height=falseorauto-height=-1to the short-code.I’ve seen a way to a solution on this.
In essence, I need to add an option to switch off height management by adding
data-cycle-auto-height=falseto the rotating tweet container.When I get a moment, I’ll add the option to the code.