Skip to content

underdude/voce-cached-nav

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voce Cached Nav

Contributors: markparolisi, voceplatforms, nattyait
Tags: nav, menus, cache, caching, performance
Requires at least: 3.3
Tested up to: 3.7.1
Stable tag: 1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Description

Serve cached copies of WordPress navigation menus by replacing your template calls to wp_nav_menu with voce_cached_nav_menu.

Installation

As standard plugin:

See Installing Plugins.

As theme or plugin dependency:

After dropping the plugin into the containing theme or plugin, add the following:

if( ! class_exists( 'Voce_Cached_Nav' ) ) {
	require_once( $path_to_voce_cached_nav . '/voce-cached-nav.php' );
}

Usage

Replacing your template calls to wp_nav_menu with voce_cached_nav_menu

Frequently Asked Questions

  • Can I pass the same arguments to voce_cached_nav_menu?
    • Yes. The caching class is essentially just a refactor of that large core function with caching at all possible levels.

Changelog

1.1
3.6 compatibility

1.0
Initial release.

About

Cached replacement for wp_nav_menu

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%