Ajax Theme
This plugin provides some tools to develop a wordpress ajax theme.
This plugin help developers to build an ajax-based themes. It uses que jQuery History plugin.
| Author | Fractlia - Applications Lab Profile |
| Contributors | Fractalia - Applications Lab |
| Tags | AJAX, fractalia, history, jqueyr, plugin, theme, wordpress |
- Download the plugin from here.
- Extract all the files.
- Upload everything (keeping the directory structure) to the
/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- 0.1 Initial release
- 0.1.3 Fixed some bugs
How it works?
It help you to construct Ajax themes not rendering header.php and footer.ph when making an ajax request. For this pourpuse You should use "ajax_header" and "ajax_footer" instead "get_header" and "get_footer" respectively.
How do I activate the ajax theme?
You should include the function "enable_ajax_theme('#')" on functions.php.
How do It help me on javascript level
You should exec ajax_init(function(hash){ jQuery('#content-wrap').load(base_url + hash, function(){ ... }); /* The function is for reference */ });
For more information you can visit the jQuery history plugin (http://tkyk.github.com/jquery-history-plugin/)

