Martin Tod
Forum Replies Created
-
Because it’s showing old tweets “from 3 days ago” – rather than the an old date – suggests there’s a problem with caching. The whole string is being saved – and the new tweets are never pulled.
Are you using a caching plug-in? What happens if you slightly tweak the search parameters (e.g. exclude replies)?
All
<!-- option[icesculptor11] does not exist -->means is ‘check if the tweets for icesculptor (including RTs and excluding replies) have been cached’ (and it reckons they haven’t).The error code is Twitter refusing to send data back to you as per https://developer.twitter.com/en/docs/basics/response-codes.html
What happens if you check the application API codes in Twitter?
Even more interesting.
Surprised you got nothing when DEBUG was switched on. There are normally quite a few extra comments added to the page (not always immediately next to the widget) as the site interacts with Twitter. Although they’re not visible since they’re commented out, but they are in the HTML.
That’s very helpful and very odd.
The total disappearance of any code makes me wonder if it’s a problem with how Rotating Tweets works with W3 Total Cache. I wonder if @alexpty is using it?
What happens if you drop a new Rotating Tweets widget in there?
Do you have a test version of the site which you could run using:
define( 'WP_DEBUG', true );in the wp-config.php file?
Martin
- This reply was modified 6 years, 12 months ago by Martin Tod.
Hard to diagnose the problem without looking at the site.
If you ‘View Source’, are the Tweets in the HTML, just not being displayed, or is there an error message highlighting a problem with pulling the Tweets?
If you look at the Console, are there any JavaScript errors on the page?
It’s possible to change how it translates into other languages and whether it displays or not via shortcodes and display options, e.g. including:
show_meta_timestamp=0 show_meta_screen_name=1 show_meta_via=0, for example,
in the shortcode.What’s not working? Pulling messages or displaying them?
It’s working fine on my test site, so I can’t replicate this.
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] How to show media widgetHi there,
There isn’t currently an option.
I’ll look at adding it with the next revision.
If you’re coding into the template anyway, one option would be to use the
do_shortcode()function.<?php echo do_shortcode( '[your shortcode]' ); ?>Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Meta colorJust checked it on your site. Works nicely!
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Meta colorNot sure what you mean by “no return to the line after the tweet” though…
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Meta colorHow does:
p.rtw_meta, div.rtw_meta, .rtw_meta a { color: red; margin-bottom: 0; }work for you?
[rotatingtweets screen_name='kirkhills' rotation_type="carousel" carousel_horizontal=1 carousel_count=3 carousel_responsive=1]should work!Seems to be working now. What did you do?
What happens if you put Rotating Tweets into the regular plug-ins folder?
Best wishes,
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Default Message/No Tweets?Did this work for you?
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Default Message/No Tweets?Are you using a shortcode or the widget?
If you’re using a shortcode, then the development version will accept
msg_no_tweetsas a variable where you can set a message.Either way, the default message for no tweets has been set to ‘No Tweets found’.