WordPress.org

Ready to get started?Download WordPress

Forums

NextPage Buttons
breaks https and is obsolete (1 post)

1 star
  1. here
    Member
    Posted 10 months ago #

    still works, and may outlast the alternative solution below :)

    this was causing issues with https in admin -- and can be solved easily without a plugin as below.

    add the following code to functions.php to enable the next-page button
    from http://wordpress.org/support/topic/bringing-nextpage-button-back

    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;
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.