"Ktai Style" provides lightweight pages and simple admin interfaces for mobile phones.
ktai-style folder into your plugins directory (wp-content/plugins/) of the server. admin folder in ktai-style folder.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.
ktai-style directory to 757 or 777, so that the webserver can touch the directory.wp-load-conf.php file is automatically created. It is OK.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/';
If you use WP Super Cache by Donncha, additional configuration is needed.
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.Ktai Style Support option in the lower part of WP Super Cache admin panel.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)`RewriteCond %{HTTP_USER_AGENT} !(iPhone;|iPod;|Android)If you use WP-Cache by gallir, additional configuration is needed.
wp-cache-config.php file by duplicating wp-cache-config-sample.php file.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';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: 179,087
Got something to say? Need help?