2 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 1 and 100 dollars
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
  • Author had a File in an Envato Bundle
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • India
+1 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
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 1 and 100 dollars
NoirSentiment says

Thank you so much! :)

438 posts
  • Exclusive Author
  • Has been a member for 3-4 years
  • 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