Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Themeisle

    (@themeisle)

    Hey,

    Here you have a code snippet which will help you change the cache time:

    https://docs.themeisle.com/article/547-how-to-change-cache-lifetime-for-a-specific-feed

    Let me know if you need anything else.

    Thread Starter J Daubman

    (@livenewsfeeds)

    Thanks.

    Where would I add this code?

    Plugin Author Themeisle

    (@themeisle)

    You can add this in your functions.php of your theme or child theme.

    Thread Starter J Daubman

    (@livenewsfeeds)

    Thank you very much.

    Thread Starter J Daubman

    (@livenewsfeeds)

    I am a novice at coding.

    It’s obvious this code needs to be modified to suit my specific needs.

    Let’s say I wanted https://motherboard.vice.com/rss feed to update every 5 minutes. How would this code look?

    Would I need the code for each feed on my post? I have 12 feed sources.

    Here’s the way my post looks now: https://atnnow.com/lnf/live-rss-feeds/

    What I am having problems with is that the feeds don’t update until I log in to my WordPress site and refresh the post. After I log out, and go back to the post, the old feeds are still showing. I have no idea why that is, but it’s very strange.

    • This reply was modified 7 years, 10 months ago by J Daubman.
    Thread Starter J Daubman

    (@livenewsfeeds)

    Thanks.

    What exactly does this code do? I don’t understand coding.

    Since I have 12 feed sources on one WordPress post, would I need to add 12 code snippets to the functions.php file?

    Is the only thing I need to change in the code the particular RSS feed URL?

    The problem I am having is that I see old feeds on my site. To see the new feeds, I need to log in to my WordPress, go to the page, and hit refresh. This is very annoying. Will adding this snippet to the functions.php file resolve this?

    J Daubman

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘RSS feed source updating’ is closed to new replies.