Martin Tod
Forum Replies Created
-
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Tweets not updatingIt looks like it is pulling the most recent data currently. The most recent tweet showing currently is from 5 minutes ago.
Two quick questions:
– How often are you wanting it to update?
– Do you have a caching plug-in on the your website?The default setting is to only get new data every 2 minutes. But with some caching plug-ins it will update less frequently.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Shows old TweetsThat’s odd. It appears that it can’t get through to the server, so it’s using an old cache of the data for some reason.
Looking at the code on your page, there might be an authentication problem:
<!-- Twitter error: 32 - Could not authenticate you. -->Are the Twitter credentials on the settings page up to date? Might someone have reset them?
- This reply was modified 8 years, 3 months ago by Martin Tod.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] keeps changing widget usedIt sounds like it might be a WordPress bug – possibly relating to some theme code – since I don’t think there’s any code in Rotating Tweets which interacts with these variables.
Does it help if you remove and then re-add them?
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Change text ExpandNot currently. What did you have in mind?
If you’re working in a different language (or even a different dialect of English), ‘expand’ can be changed via language packs…
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Like FunctionGood point.
I’ll try to find the right icon and add it to the mix.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Version NumberNow fixed.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Version NumberI did. Sorry about that.
I’ll push it up to 1.9.5 and fix the problem.
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Interfering with themePS: Have just updated the development version again (in case you’d downloaded it immediately).
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Interfering with themeI’ve added Brilliance Pro to the list of templates in the development version – and modified the code to ensure that it uses the template’s version of Cycle2.
Does it work for you?
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] update plugin for php 7.2Thanks for highlighting this.
Now fixed (hopefully).
Martin
PS: I can’t help you with Columbus internships I’m afraid!
JQuery is already being loaded further up the page, so commenting out that line shouldn’t cause any problems. It should make the whole site work better.
The advantage of using
wp_enqueue_script()is that it handles the sequencing and dependencies of your JavaScript for you. But if your site is working, it’s probably not worth it unless you plan to use WordPress more in in the future – and want to learn how to use the function.In terms of skittishness, perhaps try changing the
speedsetting or picking a differentrotation_type. All the options are here.Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Carousel not rotatingJust had a look at this again and I’m pretty certain that the problem is that
footer.phpisn’t loading.Can you see the
get_footer()function (which is the function that loadsfooter.php) on yourindex.phppage for example?It’s because your page loads jQuery twice. The second loading wipes out most of the jQuery-related JavaScript that comes earlier on the page – including the Cycle 2 script.
The problem line is around line 885 on the home page:
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="//code.jquery.com/jquery.js"></script>If you comment this out, the page should work properly.
The core problem is that the theme designer has hardcoded the loading of a JavaScript into a template. It’s always better to use wp_enqueue_script() for this.
- This reply was modified 8 years, 4 months ago by Martin Tod.
- This reply was modified 8 years, 4 months ago by Martin Tod.
This is a bit of an unusual case.
Because Cyclone Slider has been installed – and it uses the same rotation script, Rotating Tweets is trying to use its copy of JQuery Cycle 2 to rotate the tweets.
But something appears to be overwriting or blocking Cyclone Slider’s copy of JQuery Cycle 2.
If you’re not using Cyclone Slider (and you might not be since it’s not clear how it would be working properly), a simple test would be to switch it off. Another option, if it’s possible, would be to get it loaded at the bottom of the page.
I’ll do some testing with Cyclone Slider and see if any recent upgrades have broken Rotating Tweets’ integration with it.
- This reply was modified 8 years, 4 months ago by Martin Tod.