Can I force WordPress to use instead of ?

For example, Did you know that <em>hot</em> was used to mean “<a title=”What is the origin of “hot” as “good-looking” or “attractive”?” href=”http://english.stackexchange.com/a/84227/1696″> sexually attractive</a>” as long ago as 1450? (Though it seems that in earlier use, it more commonly meant “sexually attract<em>ed</em>”.) The second use of <em> in the above is correct: I want … Read more

How to replace the content of tinyMCE editor in both text and visual mode using jQuery?

I have added a button beside the Add Media button in WordPress’ post editor. Its called Insert Content button. When this button is pressed, it should send a content, either plain text or HTML, into the editor, replacing any text in it. The code should work in both text and visual mode. How can I … Read more

Hide “Add media”, HTML editor from TinyMCE

I have a custom post type which supports editor. (WordPress version 3.5) I want to customize the editor for it. Make it readonly Hide “Add Media” button Hide HTML editor Remove status bar showing word count I am using the following code: add_filter( ‘tiny_mce_before_init’, function( $args ) { $args[‘readonly’] = 1; $args[‘media_buttons’] = 0; $args[‘theme_advanced_disable’] … Read more

WordPress Visual Editor Stripping HTML Changes

When I use the WordPress HTML editor to add icomoon icons like this: <span class=”icon-shield”></span> and then switch to the visual editor and then back to the HTML editor, the icons disappear. I am trying to include this bit of Javascript to fix this. I looked at wp_enqueue_scripts and put this in functions.php, but it … Read more