EjiOsigwe
Forum Replies Created
-
Forum: Plugins
In reply to: [DevBuddy Twitter Feed] Showing wrong "Number of tweets to show"…Thread assumed as resolved since there hasn’t been a response in over a week.
Forum: Plugins
In reply to: [DevBuddy Twitter Feed] Custom Field as Twitter UsernameNice move, glad I could help!
Indeed, I’m currently working on search functionality for the plugin and hope to have it out on the next update.
Thanks,
EjiForum: Plugins
In reply to: [DevBuddy Twitter Feed] Custom Field as Twitter UsernameHi Paul,
Thanks for using the plugin.I had a play around with your idea and it’s very much possible. Your code just needs a minor tweak: you want to replace the
get_field()
function with theget_post_meta()
function, and remove the quotes around the$username
variable on the second line of your code example.The following should get you the outcome you’re looking for:
$username = get_post_meta( $post->ID, 'twitter_username', true ); db_twitter_feed( array( 'user' => $username ) );
And if you want to look into the
get_post_meta()
function there’s good info in the codex: Function Reference/get_post_metaLet me know if it works out.
EjiForum: Plugins
In reply to: [DevBuddy Twitter Feed] Showing wrong "Number of tweets to show"…Hey Carlos,
Thanks for letting me know.
I had a check myself and it turns out there was an error in the code that prevented the “Tweets to show” setting from been seen in certain cases.
I’ve fixed it and released an update so that should be rolling out to you quite soon.
Let me know if it works out.
Thanks,
EjiForum: Plugins
In reply to: [DevBuddy Twitter Feed] Twitter Feed Not ShowingThread closed since there hasn’t been a response in over a week.
Forum: Plugins
In reply to: [DevBuddy Twitter Feed] Twitter feed only updates when I click "Save Changes"Thread closed since there hasn’t been a response in over 2 weeks.
Forum: Plugins
In reply to: [DevBuddy Twitter Feed] Twitter Feed Not ShowingHi there.
I’ve taken a look at your site and it looks like the Twitter account you’re trying to get a feed from hasn’t posted any Tweets yet so there’s nothing to show.
Chances are that you’re not doing anything wrong. All I’d advise at this point is to try changing the Twitter username in the settings to a Twitter account that’s active with a few tweets published and see if that works.
Be sure to come back and let us if this works.
Thanks.
Forum: Plugins
In reply to: [DevBuddy Twitter Feed] Twitter feed only updates when I click "Save Changes"Hi and thanks for using the plugin.
Twitter allows (I believe) 350 requests every 15 minutes so if it’s just you that’s doing the checking it’s unlikely you’ve hit that limit. From what I’ve gathered it appears that the issue is the plugin’s caching facility. By default it caches the feed for an hour.
Fortunately I’ve just released an update which offers the ability to change the time the feed is cached for or to not cache at all.
- If you’re using the settings page the option is just under the number of tweets you select.
- If you’re doing it via template tag you’ll want to add
'cache_hours' => 0
as an array item. - If you’re using the shortcode add
cache_hours="0"
as an attribute.
0 hours disables the cache, basically.
Update and give it a try, and be sure to come back and let us know if it’s resolved your issue.