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.

Ktai Style

"Ktai Style" provides lightweight pages and simple admin interfaces for mobile phones.

  1. Unzip the plugin archive and put ktai-style folder into your plugins directory (wp-content/plugins/) of the server.
  2. If you do NOT need simple admin feature, omit admin folder in ktai-style folder.
  3. Activate the plugin.
  4. Configure the plugin at "Mobile Output" menu at the WordPress admin panel. The default configuration is optimized for generic use.

Moving wp-content, or wp-content/plugins directory to non-standard position

After WordPress 2.6, you can move wp-content, or wp-content/plugins directory to non-standard position. If you move the directory, additional configuration is needed.

  1. When installing the plugin, the permission of the ktai-style directory to 757 or 777, so that the webserver can touch the directory.
  2. Activate the plugin, then wp-load-conf.php file is automatically created. It is OK.
  3. If the file is not created, you need to edit ktai-style/wp-load.php manually. At line 20, change $wp_root variable to specify the absolute path to WordPress installed directory.

    e.g. WP diretory is /home/foo/public_html/wp-core/ and wp-content directory is /home/foo/public_html/wp-content/ $wp_root = dirname(dirname(dirname(dirname(__FILE__)))) . '/wp-core/';

Combination with WP Suer Cache

If you use WP Super Cache by Donncha, additional configuration is needed.

  1. Locate the file ktai-style/patches/supercache-plugin-ktaistyle.php into the directory under WP Super Cache. It will be ordinary wp-content/plugins/wp-super-cache/plugins.
  2. Activate Ktai Style and WP Super Cache.
  3. Enable Ktai Style Support option in the lower part of WP Super Cache admin panel.
  4. Turn on Mobile Device Support at WP Super Cache admin panel. Or, set Mod Rewrite Rules while Mobile Device Supportis turned off. Make sure below two or three lines is included in the Rewrite rule.RewriteCond %{HTTP_USER_AGENT} !^(DoCoMo/|J-PHONE/|J-EMULATOR/|Vodafone/|MOT(EMULATOR)?-|SoftBank/|[VS]emulator/|KDDI-|UP.Browser|emobile/|Huawei/|IAC/|Nokia|mixi-mobile-converter/) RewriteCond %{HTTP_USER_AGENT} !(DDIPOCKET;|WILLCOM;|Opera\ Mini|Opera\ Mobi|PalmOS|Windows\ CE;|PDA;\ SL-|PlayStation\ Portable;|SONY/COM|Nitro|Nintendo)`
  5. If you want to apply mobile output for iPhone, iPod, and Android, below line is need after anove 2 lines. RewriteCond %{HTTP_USER_AGENT} !(iPhone;|iPod;|Android)

Combination with WP-Cache

If you use WP-Cache by gallir, additional configuration is needed.

  1. Create wp-cache-config.php file by duplicating wp-cache-config-sample.php file.
  2. Around line 19 of wp-cache-config.php, next to the line setting cache_rejected_user_agent, add below code. If you move wp-content directory to non-standard position, adjust the path to the directory. if (file_exists(ABSPATH. 'wp-content/plugins/ktai-style/patches/wpcache.php')) { include ABSPATH. 'wp-content/plugins/ktai-style/patches/wpcache.php';
  3. Locate wp-cache-config.php under wp-content/ and activate WP-Cache plugin.

Requires: 2.8 or higher
Compatible up to: 3.0.6
Last Updated: 2011-8-21
Downloads: 253,019

Ratings

4 stars
4 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.

100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1
100,1,1
0,1,0 100,1,1 100,1,1
0,1,0
100,1,1
100,2,2
100,2,2
100,1,1
100,1,1