Home / admin / Add “Next-page” button in WYSIWYG-editor
  • How to Add “Next-page” button in WYSIWYG-editor

    no thumbnail sorry: Add “Next-page” button in WYSIWYG-editor

    Adding this PHP code to the functions.php of your wordpress theme will add a nextpage button to the WYSIWYG editor.

    ( click code to copy )

    wordpress snippet : 

    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;

    ( WordPress codex functions, hooks, in this snippet. )

    add_filter, _e, wp,
  • Great success, works as advertised!

  • Karl

    Have used this a few times in the past and came to this site when I was trying to find the code for it again.. thanks for posting this great resource!

  • Guest

    ah, thats how its working

  • Guest


  • Guest