Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

RSS Widget frequency post update


  #1  
Old Nov 21, 2012, 07:47 AM
capelady
 
50 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, 06:05 PM
lmilesw's Avatar
lmilesw
 
10,176 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, 07:03 PM
capelady
 
50 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



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 07: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 08:24 AM
NetworkedBlog widget no longer showing correctly after theme update nicoleds Sidebars & Widgets 1 Jun 17, 2011 06:01 AM
Post Titles change to "Auto Update" rcd Center area post/pages 1 Oct 14, 2010 05:15 PM
[SOLVED] Only one word shows in post after update to 3.4.9 Kadin New Versions, & Updating 2 May 11, 2010 10:23 AM


All times are GMT -6. The time now is 11:37 AM.


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