Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

RSS Widget frequency post update


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 21, 2012, 06:47 AM
capelady
 
47 posts · Mar 2010
I have a few RSS Widgets in the sidebar of https://www.capecodbirdclub.org/. I have noticed that the links to the posts are not updated as frequently as the RSS feed I have in my Firefox Bookmarks Toolbar. It's sometimes a few posts behind. Refreshing the browser doesn't help, closing Firefox and restarting doesn't help.

In searching for a reason/solution (since I know little about RSS feeds, and how they work), I did find one page (http://www.village-idiot.org/archive...ss-rss-widget/) that says to modify functions.php with:
add_filter( 'wp_feed_cache_transient_lifetime', create_function('$a', 'return 1800;') );
The page says "The above code will cause the feeds to be checked every 30 minutes."

Does this sound like a reasonable solution? If so, does it matter where in functions.php I put it?

If someone has a better solution, I'd love to hear it.
  #2  
Old Nov 21, 2012, 05:05 PM
lmilesw's Avatar
lmilesw
 
10,087 posts · Jul 2009
Central New York State USA
You could try using the Code Snippets plugin that lets you add code to functions.php without editing the file itself.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Nov 21, 2012, 06:03 PM
capelady
 
47 posts · Mar 2010
Thanks, I didn't know about that plugin. I've put the code in there, and will wait to see if the feeds seem to be more current.

Bookmarks

Tags
feed, frequency, post, rss, widget

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost excerpts on multi post pages after update asports Excerpts, Read more, Pagination 5 Oct 27, 2012 06:19 PM
[SOLVED] Animate Category Menu Bar / Custom Post Date Not Working After Update to 3.6 sar New Versions, & Updating 10 Jun 22, 2011 07:24 AM
NetworkedBlog widget no longer showing correctly after theme update nicoleds Sidebars & Widgets 1 Jun 17, 2011 05:01 AM
Post Titles change to "Auto Update" rcd Center area post/pages 1 Oct 14, 2010 04:15 PM
[SOLVED] Only one word shows in post after update to 3.4.9 Kadin New Versions, & Updating 2 May 11, 2010 09:23 AM


All times are GMT -6. The time now is 08:22 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.