2 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
NoirSentiment says

Hello Everyone!

I was trying to create more than 15 custom TinyMCE buttons, but after the 15th button, the row just overflowed. I was wondering if anyone knows a way to create second row for buttons?

Thanks in advance! :)

469 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
SaurabhSharma says
function add_buttons() {  
    if ( current_user_can('edit_posts') &&  current_user_can('edit_pages') )  
    {  
      add_filter('mce_external_plugins', 'add_plugins');  
      add_filter('mce_buttons_3', 'register_buttons');
    }  
 }

Use mce_buttons_3. That should work.

2 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
NoirSentiment says

Thank you so much! :)

438 posts
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in United States
christopherjon says

The best practice is to create new rows and keep them the same length as the first two rows.

The WP dashboard was designed for a minimum 1024px width. Adding a lot of buttons to the first two rows messes up the dashboard for anybody with a 1024 or smaller monitor.

by
by
by
by
by
by