在Wordpress的合适位置中添加如下代码即可 [codesyntax lang="php" lines="normal"]
add_filter('mce_buttons', 'suren_add_next_page_button');
function suren_add_next_page_button($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;
}
[/codesyntax]
http://www.wpdaxue.com/add-next-page-button-wordpress-post-editor.html
http://www.wpdaxue.com/tinymce-custom-methods.html#简单添加自定义按钮