找到theme目錄中目前使用的佈景主題名稱下的 funtions.php ,然後加入這段程式碼即可:
// --------------------------------------------------------------------------
// Start Add NextPage Button
// --------------------------------------------------------------------------
add_filter('mce_buttons','wysiwyg_editor');
function wysiwyg_editor($mce_buttons) {
$pos = array_search('wp_more',$mce_buttons,true);
if ($pos !== false) {
$tmp_buttons = array_slice($mce_buttons, 0, $pos+1);
$tmp_buttons[] = 'wp_page';
$mce_buttons = array_merge($tmp_buttons, array_slice($mce_buttons, $pos+1));
}
return $mce_buttons;
}
// --------------------------------------------------------------------------
// End Add NextPage Button
// --------------------------------------------------------------------------
沒有留言:
張貼留言