How to add custom options and buttons in wordpress MCE Editor

I am developing a premium Wordpress theme [first time :)] and I want to know how to add custom buttons and options to the Tiny MCE Editor .

Like other premium themes, they provide a custom button and a popup area for custom options (maybe just a div), I also want to do this. I need functions that can do this.

Thanks.

+4
source share
1 answer

Here's a great tutorial on adding a custom button to the Tiny MCE editor: http://wp.tutsplus.com/tutorials/theme-development/wordpress-shortcodes-the-right-way/

You can also try this plugin: Ultimate TinyMCE

WordPress Codex Link: TinyMCE Custom Buttons

+2
source

Source: https://habr.com/ru/post/1442677/


All Articles