How to make image in TinyMCE clickable

To your primary question: It’s a tinymce plugin and can be found here: wp-includes/js/tinymce/plugins/wpeditimage/ I’m not sure but I guess you would have to rewrite some code if you want to use it with a non-wp instance of tinymce. Never tried it, but I’m pretty sure it will not work out of the box. Second … Read more

TinyMCE – Insert media at the beginning of post

If your goal is to get a photo at the top of every post, I’d encourage you to use the featured image instead. It can be added to any post type with add_theme_support(): // add featured image to Page post type add_theme_support( ‘post-thumbnails’, array( ‘page’ ) ); Then the user can upload an image to … Read more

How to disable tinyMCE button added by a plugin?

I’ve found that you can manual set availability button by this attribute theme_advanced_buttons1 (for button in row 1) Example : function disable_mce_buttons( $opt ) { //set button that will be show in row 1 $opt[‘theme_advanced_buttons1’] = ‘bold,italic,strikethrough,|,bullist,numlist,blockquote,|,justifyleft,justifycenter,justifyright,|,link,unlink,wp_more,|,spellchecker,wp_fullscreen,wp_adv,separator’; return $opt; } add_filter(‘tiny_mce_before_init’, ‘disable_mce_buttons’);