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” is a plugin providing lightweight pages and simple admin interfaces for mobile phones. Especially, this plugin is optimized for Japanese mobile phone: NTT docomo, au by KDDI, SoftBank, E-MOBILE, and WILLCOM.

  • Show lightweight output for mobile phones.
  • Has simple admin feature.
  • Mobile themes can be customized based on WordPress theme spec.
  • Supports pictograms in mobile themes.
  • Shrink image and creates small thumbnails.
  • Split web pages along the page limit.
  • Check if the link target has mobile sites, along Mobile Link Discovery.
  • Can switch mobile/PC mode for smart phones (iPhone, Windows Mobile, etc) and non-phone devices (PSP, Nintendo DS, etc).


  • WordPress 2.8 or later
  • PHP 5.0 or later (NOT support PHP 4.x!!)
  • Available phone/gadgets: NTT docomo, au by KDDI, SoftBank, E-MOBILE, WILLCOM, iPhone/iPod touch (need to configure), Nokia, BlackBerry, Windows Mobile terminals, Palm OS handheld, Sharp Zaurus, PSP, Nintendo DS


The license of this plugin is GPL v2 or later.

Getting a support

To get support for this plugin, please contact below methods:

  1. Send an email to yuriko-ktaistyle @ YURIKO (dot) NET. (You need adjust to the valid address)
  2. Use contact form at (Japanese site)
  3. Post WordPress forum with ‘ktai-style’ tag.


  • Mobile view with Default mobile theme. Fist post with content, following posts are only title. Pictograms (icon of arrows, face, clock, numbers) are used for mobile theme. Menus are located at the lower part of screen.
  • Comment form for mobile.
  • Recent comments page is an individual page. Sidebars and widgets are not available.
  • Login form for mobile.
  • Mobile dashboard. Current status, recent comments, recent drafts are available. Menus are located at the lower part of screen.
  • Edit posts panel.
  • Mobile theme select panel (At the PC admin). You can select themes from screenshot of mobile theme and check the mobile output by preview.


PHP7 未対応



しかし、php7 においては preg_replace の e 修飾子を用いたphpコードの実行がサポートされなくなったため、もはや小手先のパッチではいかんともしがたい状況になりました。


Read all 2 reviews


2.0.5 (2011-08-21)

  • Fixed the bug that settings of individual theme for smart phones (iPhone, Android, BlackBerry) is not useless.
  • Enabled Dashboard and Profile panels for WordPress 3.1 or later.

2.0.4 (2011-08-18)

  • Fixed the bug that close tag of comments list was not printed. Syntax error with iPhone/ipod touch is corrected.
  • Fixed the bug that strings outside img element inside a element are ignored. (e.g. <a href="XXXX">IGNORED<img src="YYYY" /></a>)
  • Fixed the bug that images at multi sites with WordPress 3.0 or later is treated as single sites.
  • Stop admin feature at WordPress 3.1 or later. Because, editing comments panel is not compatible.
  • Fixed the bug that the link of canceling edit/back to the list is not shown at editing pages.
  • Ktai Style considers that termnial ID cannot get at SSL connection. ks_is_require_term_id() returns false.
  • ks_in_network() followed the new IP addresses of major four careers.
  • Added recent phones of au by KDDI for ks_term_name().

2.0.3 (2010-05-13)

  • Fixed HTML syntax error at footer.php of Classic, Default theme.
  • Fixed bug that ks_term_name() does not show the proper name for some EZweb phones.

2.0.2 (2010-04-22)

  • Fixed infinity loop problem (causes HTTP error 502 etc) at Ktai Style
  • Fixed appearing white screen at mobile theme preview when you use P2 theme for PC.
  • Improved compatibility for PHP without mbstring extension. (2010-04-20)

  • ks_in_network() followed the new IP addresses of SoftBank.

2.0.1 (2010-04-20)

  • Exclude Apple iPad from mobile output.
  • Fixed not shown images which does not have alt attributes. (bug only at Ktai Style 2.0.0)
  • Fixed not shown images whose path has a number-only level on Windows servers.
  • Show message at login form if mobile login session has been expired.
  • Show security notice at mobile admin panel for cookie-disabled phones.
  • Fix to remove the current mobile theme from mobile themes list, if the current theme is in ktai-themes directory.

2.0.0 (2010-03-22)

  • Limit supporting WordPress version into 2.8 and later.
  • Distributed at the official WordPress plugin direcotry.
  • Move settings menu into individual admin menu.
  • Abolish “Image output for 3G phone, WILLCOM, smartphones, etc” setting.
  • You can select a mobile theme by list of screenshots.
  • Enabled viewing mobile pages with logging-in if you use cookie available phones.
  • You can post comments with logging-in with cookie available phones.
  • Show an “edit” link if you have the privilege to change a post/page/comment with cookie available phones.
  • Abolish logging-in feature for NTT docomo mova phones, and SoftBank PDC phones.
  • When clicking “Logout” at comment form for log-in users, return to the comment form insted of login form.
  • Support “Trash” of WordPress 2.9.
  • Fixed a problem that white screen of PHP error are sometimes shown by loading mobile theme in spite of viewing by PC.
  • Fixed a problem the number of comments is invalid (two are shown for zero).
  • Detect Mobage-town, and Hatena Mobile Gateway as search engines.
  • Fixed garbling under mbstring.encoding_translation = On.
  • Reads functions.php of current PC theme for mobile mode.
  • Abolish transferring path/URI of get_stylesheet(), get_templates(), load_theme_textdomain(), etc from PC themes to mobile themes. Theme functions now returns PC themes. Please use ks_get_theme(), ks_get_theme_directory(), ks_get_theme_uri() to get mobile theme.
  • ks_term_name() now returns a name of the search engine. To get a terminal name of the engine, use ks_term_name(KTAI_NOT_ECHO, false);.
  • Change the default value of the before parameter of ks_login_link() into empty.
  • Abolish “redir/ktai_syle.php” filter. Please use redir.php template.
  • Change the name of exclusive filters to “ktai_XXXXX” from “XXXXX/ktai_style.php”
  • Change the name of constants to “KTAI_XXXXX” from “KS_XXXXX”.


  • (Version 1.83 to 1.99 has been branched. Please see the history of 1.83 package.)

1.82 (2010-03-06)

  • Support the new phones of au (by KDDI), and EMOIBLE “H31IA”.
  • Not convert of the math images by WP-LaTeX plugin.
  • Not use redirect page for external link if accessed by search engines.
  • Fixed a problem that chages of “Date and time format of posts/comments” are not reflected.
  • Fixed a problem that deleting of the plugin causes an error.
  • Fixed a problem that backslashes at post, page, comments are erased (NOT an SQL injection).
  • ks_in_network() supports the new IP address of au, WILLCOM at .
  • Renamed ks_image_alignment filter into ktai_image_alignment.


0.7.0 (2007-09-19)

  • Initial version.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code