开发者 | Fractalia - Applications Lab |
---|---|
更新时间 | 2012年4月15日 00:08 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 3.2.1 |
/wp-content/plugins/
directory.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.
You should include the function "enable_ajax_theme('#')" on functions.php.
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/)