Martin Tod
Forum Replies Created
-
This is the code used by Twitter to show the Twitter button, but I take your point that it shouldn’t be appearing if it isn’t needed.
Let me see if it’s possible to make it optional.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Widget does not saveWhich version of PHP are you using?
If it’s PHP7, does the development version help?
Martin
- This reply was modified 9 years, 7 months ago by Martin Tod.
Forum: Reviews
In reply to: [Rotating Tweets (Twitter widget and shortcode)] My favourite Twitter pluginThe development version should work OK with php7 now.
I will probably update the main version over the weekend.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Move Follow ButtonNot currently. I’ll see if there’s an easy way to change it.
Thanks for highlighting that. I’ll see if I can find a simpler way of explaining it…
Martin
Good question.
It looks as if they might have opened up access a bit.
I’ll do some testing.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] How to show Lists Members?It’s not currently.
I’ll think about how it might be possible to do it.
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Lits to be shownTo choose the list, you need to type in the ‘list tag’.
Which user name and list tag are you using?
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Slow server responseSorry for the delay in replying. I’ve been travelling.
The slow bit of the process is getting the information from Twitter – particularly if you’re pulling in a search.
There’s loads of caching in the plug-in to try and speed things up when you’re not pulling a Tweet.
The best way to tackle the problem is to change the setting on the settings page where it says How often should Rotating Tweets try to get the latest tweets from Twitter?
The easiest way is do to something like:
echo do_shortcode("[rotatingtweets screen_name='your_twitter']");That’s odd. It works on up and down (but only on v2 of the script).
I’ll do some more testing.
Martin
I see the problem! It will mean changing the
reply.png,'retweet.pngandfavourite.pngicons, plus their_hoverversions as well, in/rotatingtweets/images/or, ideally, having a switch to change them.It probably also makes sense to allow people choose between hearts and stars for favorites at the same time – in line with the latest guidelines.
You can change it yourself in the short term by changing the graphics files. A more permanent fix is a bit more work.
Martin
I think this is fixed if you change the JavaScript version on the settings page.
Does that work for you?
When it’s broken, are the tweets all there in the HTML? If so, there’s a JavaScript problem and something should show up in the console! 🙂
!importantis generally a last resort.The borders are set in this piece of CSS:
#content .rotatingtweets, #content .norotatingtweets { border-top: 1px solid #DDD; border-bottom: 1px solid #DDD; margin-bottom: 3%; }Because
#content .rotatingtweetsis more specific than.rotatingtweetsin your CSS that means that it ‘trumps’ the selector you’ve chosen.So, in order to overwrite it, you need something like:
#content .rotatingtweets, #content .norotatingtweets { border-top: none; border-bottom: none; margin-bottom: 3%; }in your
rotatingtweets.cssfile. If that still doesn’t work, then you can try adding!importantor (and this is better) look for relevant selectors to make your selector more specific.