Tag Info

New answers tagged

-2

Add these two lines in your functions.php: remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_content', 'wptexturize' );


0

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,) );


1

The code below will work, read inline comments. Paste it into your theme functions.php or plugin. The only problem with this is the it will only work when the template is selected and the post is saved/updated and the editor is blank. <?php function wpse_177576_update_editor_content( $post_id ) { if ( wp_is_post_revision( $post_id ) ) ...



Top 50 recent answers are included