WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Cache Blocks

WP cache blocks can be cached in any part of the wordpress theme, this plugin will make you site much faster and responsive. Automatically update the

  1. Upload wp-cache-blocks folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Edit your theme,you can do like this:

Access the Theme Editor from the Administration > Appearance > Editor menu.

Add cache block areas to the any parts of your theme.

See below.

Warning:cache_id must be unique.

use like this in any template file:

<?php WPxue_StartCache(cache_id);if(!WPxue_Have_Cached(cache_id)){ ?>
//the content you want to cache
//it can be any code
<?php } WPxue_EndCache(cache_id);?>

you can also use like this:

<?php WPxue_StartCache(cache_id);if(!WPxue_Have_Cached(cache_id)): ?>
//the content you want to cache
//it can be any code
<?php endif; WPxue_EndCache(cache_id);?>

Requires: 2.8 or higher
Compatible up to: 3.0.5
Last Updated: 2010-11-13
Downloads: 4,368

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0