Remove TEXT EDITOR form page [duplicate]

This question has an answer here . I think this will work for you. Let me know after trying add_action(‘init’, ‘init_remove_support’,100); function init_remove_support(){ $post_type=”page”; remove_post_type_support( $post_type, ‘editor’); }

functional quicktag

Simple example that will add a Quicktag button that calls a Javascript function when it is clicked… <?PHP function _add_my_quicktags(){ ?> <script type=”text/javascript”> QTags.addButton( ‘alert’, ‘Alert Button’, simple_alert ); function simple_alert() { alert(‘hello, example callback function’); } </script> <?php } add_action(‘admin_print_footer_scripts’, ‘_add_my_quicktags’); ?> UPDATE…. Adding a Callback function that utilizes the passed in variables… // … Read more

Contents of HTML editor mangled after multiple UPDATES

It may help you to render content in your theme directly without the_content filter, although you would loose thigns like oembeds etc e.g.: echo $post->post_content; However this sounds like a symptom of a hack. If you have something complex like an embed then you should be using either oembed ( e.g. youtube, don’t be pasting … Read more

Removing buttons from the html editor

With the quicktag_settings filter: function wpa_47010( $qtInit ) { $qtInit[‘buttons’] = ‘strong,em,link,block,del,img,ul,ol,li,code,more,spell,close,fullscreen’; return $qtInit; } add_filter(‘quicktags_settings’, ‘wpa_47010’); The default is: $qtInit[‘buttons’] = ‘strong,em,link,block,del,ins,img,ul,ol,li,code,more,spell,close’; Though ‘fullscreen’ usually gets added too at the end. So I just deleted the ‘ins’ button. Edit to add: If you wish to create a custom button the following tutorial might help.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)