固定ページでは、ビジュアルエディタを禁止する

user_can_richeditで、ページでは、ビジュアルエディタ利用権限をfalseにすることで、タブが表示されなくなります

修正版
http://ja.forums.wordpress.org/topic/11343?replies=8#post-41344( @source )

theme/functions.php

add_filter('user_can_richedit' , 'my_default_editor');

function my_default_editor( $r ) {
 if ( 'page'== get_current_screen()->id ) {
 return false;
 }
 return $r;
}

ページになった場合は、htmlが必ず選ばれているという場合は、以下のようにも出来る。
ので、私の書いたものは、振る舞いが極端なのかも

add_filter( 'wp_default_editor', 'my_default_editor' );

function my_default_editor( $r ) {
 if ( 'page'== get_current_screen()->id ) {
 $r= 'html';
 }
 return $r;
}

theme/functions.php

新規の投稿や、ページの作成で使う

if( $_GET['post_type']== 'page' ){
	add_filter('user_can_richedit' , '__return_false');
}

投稿や、ページの編集画面で使う方法

if( isset( $_GET['post'] ) and is_numeric( $_GET['post'] ) ){
	$post_id = ( int ) $_GET['post'];
	$my_post = get_post( $post_id );
	$my_post_type = $my_post->post_type;

	if( is_admin( ) and $my_post_type== 'page' ){
		add_filter('user_can_richedit' , '__return_false');
	}
}

[emulsion_relate_posts]