Full stack web developer, interested in all the things, but especially the web, code, design, Linux, OS X, PHP, WordPress, JavaScript & robots.

Tagged: editor

A Simplified WordPress TinyMCE Editor

Sometimes, you might want to remove a few buttons from the WordPress TinyMCE editor. There could be a whole bunch of reasons for wanting to do this, but I’m not going to get into that just now. Anyhow, it’s good to know that you can make a simplified TinyMCE user interface, if you want/need to.

The following function and call to add_filter() will do just that.

You could use the above in your theme’s functions.php file, or wherever you deem fit, and it should result in an editor that looks similar to the image below (note the number of buttons).

A Simplified WordPress TinyMCE Editor

A simplified WordPress editor.

More information about removing buttons from the WordPress TinyMCE editor can be found here.

New Atom Editor Package Offers Code Snippets for WordPress Plugin and Theme Developers image/svg+xml

Wilcoxson’s new WP-Dev package offers code snippets for WordPress plugin and theme developers. The package includes common snippets for creating customizer controls, Settings API and admin functions, debugging, the loop, and registering custom post types and taxonomies. A full list of the snippets is available on both the package and GitHub pages for the project.

It’s been about a month since I switched to Atom and I’m loving it, it’s a fabulous editor. Anyhow, this WordPress developer package looks good, it contains lots of useful snippets, so it might be worth installing and investigating further.