I agree with the previus message and i suggest, maybe it’s better, to made a plug-in that add the next page button to the bar.
I really boring when i have to made 5 pages, because i have to use 5 times the MORE buttons and i have to change MANUALLY the word “more” with “nextpage”
Ok, next time i will first check for plug in and then i will write.
There is thes plug in
‘http://ww.wp.xz.cn/extend/plugins/multi-page-toolkit/’
that allow you to restore the NEXT PAGE BUTTON.
Works proprerly with my theme, Zack 990
Regards
Thread Starter
Anonymous User 3206873
(@anonymized-3206873)
My point is, there shouldn’t be a need for a plugin. The function is there. There’s a button for <!–more–> when it can only be used once. Why not have it switch to a next page button once it’s been used, rather than wasting the space with a completely non-functional button?
Pop this into your functions.php and it’ll add the nextpage button right after the more 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;
}
It’s a good thing they removed the button from the editor, to reduce clutter. But its also absurd to have a button which works only once.
Why not have both action produced by the same button.
Add this to the functions.php of your theme.
function filter_more_with_nextpage($content){
$content = str_replace('<!--more-->','<!--nextpage-->',$content);
$content = preg_replace('/<!--nextpage-->/i','<!--more-->',$content,1);
return $content;
}
add_filter('content_save_pre','filter_more_with_nextpage');
It’ll replace all but the first <!–more–> tag by <!–nextpage–>, and you can use the [more] button for both.