Blog Post

Open TinyMCE editor second row by default

TinyMCE editor used in WordPress usually has two rows on its toolbar. But, the second row is hidden by default, and you need to click an icon on first toolbar row to open the second row.

TinyMCE Button to open the second row
TinyMCE Button to open the second row

If you want this second row to be open by default, here is a small piece of code to do that and it will affect every TinyMCE you have on your website:

function dev4press_tiny_mce_before_init($args) {
  $args['wordpress_adv_hidden'] = false;

  return $args;
}

add_filter('tiny_mce_before_init', 'dev4press_tiny_mce_before_init');

You can add this code in theme functions.php file.

Please wait...

About the author

Milan Petrovic
Milan Petrovic

CEO and Lead developer of Dev4Press Web Development company, working with WordPress since 2008, first as a freelancer, later founding own development company. Author of more than 250 plugins and more than 20 themes.

2 thoughts on “Open TinyMCE editor second row by default”

  1. Hi,

    TinyMCE editor used in WordPress usually has “to” rows on its…

    You probably would like to change that to two. It’s a costly punctuation typo I spotted and thought I should mention it out to you.

    Please wait...
    Reply
    • Thanks, fixed!

      Please wait...
      Reply

Leave a Comment

Latest From The Blog

plugins release forum toolbox for bbpress 8.0

forumToolbox for bbPress 8.0

We are thrilled to announce the official release of forumToolbox Pro 8.0! This release marks a major evolution, focusing on modernizing core workflows, stripping out legacy technical debt, and introducing new attachments upload interface reimagined from ground up.
plugins release sweeppress pro lite 7

SweepPress 7.0 Pro & Lite

SweepPress, version 7.0 (both Lite and Pro), is a major update that brings one new management tool for managing attachments in media library, new shared library, new Freemius SDK, various improvements and fixes.
announcement pricing changes

Changes to the plugins pricing

Dev4Press plugins switched to use Freemius in January of 2025, and to make things simpler, the new pricing model remained as it was before that. We have now decided to update the pricing model.

0
0
36
0
0
0
0
0
0