Add table plugin in to WordPress TinyMCE editor

Download plugin here. Add table folder and file in it in /wp-includes/js/tinymce/plugins/.

Next, open your theme’s functions.php and add following in it. Plugins table column has to include all already used plugin too.

More WordPress TinyMCE formation to here Codex. Button names you find here.

function format_TinyMCE( $in ) { 
 $in['plugins'] = 'table,textcolor,lists,hr,tabfocus,paste,media,fullscreen,wordpress,wpeditimage,wpgallery,wplink,wpdialogs'; 
 return $in; 
add_filter( 'tiny_mce_before_init', 'format_TinyMCE' ); 

function mce_buttons_2( $buttons ) { 
 array_unshift( $buttons,'table' ); 
 return $buttons; 
add_filter( 'mce_buttons_2', 'mce_buttons_2' ); 

Leave a Reply

Your email address will not be published.