Add extra buttons to WordPress editor

Add Tool

Add extra buttons to WordPress Visual Editor


Add extra buttons to WordPress Visual Editor

If you want to add some extra buttons to WordPress visual editor, you are in right place. There are many WordPress plugin to add extra buttons to WordPress visual post editor. Here I have added some WordPress snippets which will add some extra buttons to WordPress visual post editor without using any plugin. This snippets will add the below options in the post and page editor

  • Font Size
  • Font Family
  • Background Color
  • Image
  • Embed Media
  • Anchor
  • Sub Script
  • Super Script
  • Horizontal Rule
  • Page Break
  • Cut
  • Copy
  • Paste
  • New Document
  • Code
  • Clean up

To add the above shortcodes or extra buttons to WordPress visual editor you need to add the below snippets in your WordPress theme's functions.php file. Simply open your functions.php file and add the below snippets.

function enable_more_buttons($buttons) {
$buttons[] = 'fontselect';
$buttons[] = 'fontsizeselect';
$buttons[] = 'backcolor';
$buttons[] = 'image';
$buttons[] = 'media';
$buttons[] = 'anchor';
$buttons[] = 'sub';
$buttons[] = 'sup';
$buttons[] = 'hr';
$buttons[] = 'wp_page';
$buttons[] = 'cut';
$buttons[] = 'copy';
$buttons[] = 'paste';
$buttons[] = 'newdocument';
$buttons[] = 'code';
$buttons[] = 'cleanup';
return $buttons;
}
add_filter("mce_buttons_3", "enable_more_buttons");

After adding the above WordPress snippets your WordPress editor will like the above image.


Tags: WordPress visual editor, WordPress editor, WordPress TinyMCE Editor, visual editor wordpress, wordpress visual editor plugin, wp visual editor
Payza

About Masum Billah

Add extra buttons to WordPress Visual Editor 1stWebSuite website seo tool is a free website ranking tool site provides a lot of on page and off page seo useful tools for you. On this site, we have a large number of website ranking tools


SIGN UP TO GET UPDATE TO YOUR INBOX




Discuss about: Add extra buttons to WordPress editor


adf.ly