Inline Editing with wp_editor and tinymce (problem with textarea)

I am still experiencing with this, but here is how I got rid of the unwanted text area: if ( !is_admin() ) { //you might decide to change this conditional statement. //I found the filter in /wp-includes/class-wp-editor.php @249 add_filter(‘the_editor’, ‘my_remove_editor_te’); function my_remove_editor_te(){ $editor=””; return $editor; // or simply return; } } Here is how I … Read more

ThinkTanking for design [closed]

WordPress stores content data as text, which is considered either valid HTML or kind of “weak” HTML (without paragraphs markup, which are added by WP in processing). There are third party alternatives (such as Markdown) and embedded options (such as latex), but in principle it is HTML. The presentational side of HTML can be changed … Read more

How to stop wp-editor() overwriting my HTML?

If you were always writing in HTML, you could add the following to your functions.php file: remove_filter( ‘the_content’, ‘wpautop’ ); remove_filter( ‘the_excerpt’, ‘wpautop’ ); I do this for some of my own sites. As it sounds like you want the option to turn this on or off, you may want to try the wpautop control … Read more

How to make this clean?

Try: $MySITE = ‘This is my site: <a href=”‘ . esc_url(‘http://www.ciusan.com’) . ‘”>Ciusan</a>’; wp_editor($MySITE, ‘CNB_Content’, $settings = array(‘media_buttons’ => false,) );

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