That would work.
Any thoughts on what you’d like the message to be? It’s an easy fix to add a different message for this scenario.
Thread Starter
R J
(@tzzel)
From my brief file searching, I wasn’t able to find the message in your files.
Something like…
if account.messages = 0
then return ‘no tweets found’ or ” (nothing at all)
The current message suggests a technical issue to me.
It’s really just for our situation, where we use the plugin as a way to have an quick announcement for the website.
Great plugin, thanks Martin!
Are you using a shortcode or the widget?
If you’re using a shortcode, then the development version will accept msg_no_tweets
as a variable where you can set a message.
Either way, the default message for no tweets has been set to ‘No Tweets found’.
Thread Starter
R J
(@tzzel)
Thank you for that and following up with me. Very interesting. I tested it out. With 0 tweets, I get that “Problem retrieving data from Twitter” message. So I test-tweeted (tweet count:1), and actually, the tweet showed up, so it’s not a configuration issue. Though I deleted the tweet and even with the 2 minute cache it’s still there 20 minutes later.
Here’s my shortcode
[rotatingtweets screen_name=’waialuafcu’ official_format_override=0 links_in_new_window=1 show_meta_screen_name=0 rtw_display_order=’meta,info,main,media’ rotation_type=’fade’ speed=3000 show_meta_via=0 show_meta_prev_next=0 show_meta_pager=1 show_meta_pager_blob=’■’ msg_no_tweets]
-
This reply was modified 3 years, 6 months ago by
R J.
-
This reply was modified 3 years, 6 months ago by
R J.