Linux 软件免费装

Plugin Name

开发者 Fractalia - Applications Lab
更新时间 2012年4月15日 00:08
PHP版本: 3.0 及以上
WordPress版本: 3.2.1

标签

plugin wordpress theme ajax history jqueyr fractalia

下载

详情介绍:

This plugin help developers to build an ajax-based themes. It uses que jQuery History plugin.

安装:

  1. Download the plugin from here.
  2. Extract all the files.
  3. Upload everything (keeping the directory structure) to the /wp-content/plugins/ directory.
  4. Activate the plugin through the 'Plugins' menu in WordPress.

常见问题:

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/)

更新日志: