[Plugin: W3 Total Cache] Fragment caching with Twitter/Recent Post widgets?
So I was trying to exclude W3TC for 2 of my widgets: “Recent post” and Jetpack’s Twitter widget. First, I tried wrapping my get_sidebar() by using:
<!-- mfunc -->get_sidebar();<!-- /mfunc -->
but I didn’t want to exclude the whole sidebar, just some widgets. So I tried excluding Jetpack’s Twitter widget by using
<!-- mclude -->/wp-content/plugins/jetpack/modules/widgets/twitter-widget.php<!-- /mclude -->
and “Recent post” widget by using
<!-- mclude -->/wp-includes/post.php<!-- /mclude -->
but these pretty much blew up my blog. It threw an error that looks like the aforementioned php files don’t exist at all. Sorry, I can’t give you the exact wording now, since it’d blow up my blog.
How do you set W3TC to exclude just some widgets?
- The topic ‘[Plugin: W3 Total Cache] Fragment caching with Twitter/Recent Post widgets?’ is closed to new replies.