Ensure TinyMCE is loaded for Wordpress (for meta boxes)


/ Published in: PHP
Save to your folder(s)

If you are creating a custom post type in Wordpress, and turn off the 'editor' capability, then TinyMCE is not loaded. This means any WYSIWYG meta box textareas will fail. Add this snippet to your theme's functions.php file to load the required TinyMCE JS and styles.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.