[Plugin: WP Super Cache] WP-Super-Cache and php calls (2 posts)

  1. Producer82
    Posted 7 years ago #

    I've got a Forum plugin (SF-Forum) on my site and I use the call sf_recent_posts_tag in my sidebar300.php to display the most recent posts. Problem is WP-SC is caching the sidebar so the recent posts never updates until I clear the cache, I've tried adding sidebar.php to the excludes but that didn't work.

    Is there any way to turn off caching on a php call? I read somewhere that this is possible with Java but I don't know how to turn a call into a javascript.

    Any help would be appreciated.

  2. Donncha O Caoimh
    Posted 7 years ago #

    Your best bet is to use Javascript. It's not hard to do. There are plenty of examples online of how to get Javascript to print something to your browser. Well worth knowing!

Topic Closed

This topic has been closed to new replies.

About this Topic