Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- paste kode berikut di functions.php
- /* Add Next Page Button in First Row */
- add_filter( 'mce_buttons', 'my_add_next_page_button', 1, 2 ); // 1st row
- /**
- * Add Next Page/Page Break Button
- * in WordPress Visual Editor
- *
- * @link https://shellcreeper.com/?p=889
- */
- function my_add_next_page_button( $buttons, $id ){
- /* only add this for content editor */
- if ( 'content' != $id )
- return $buttons;
- /* add next page after more tag button */
- array_splice( $buttons, 13, 0, 'wp_page' );
- return $buttons;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement