1
vote
3answers
172 views

How can I control the HTML output of my post?

As you already know, WordPress manipulates posts, even if you write everything in Text mode. (replacing line breaks with \r\n 's , converting single quotes into double quotes etc.) I know this is ...
1
vote
1answer
104 views

Prevent the Editor From Moving My  

I know variations on this have been asked all over the WordPress world, but I can't seem to find what I'm looking for. I have HTML that looks like this: <a ...
0
votes
2answers
76 views

WYSIWYG with HTML source?

I'm trying to switch from Drupal to WordPress, and I have lots of articles written in Drupal's WYSIWYG Editors, and stored like <p>Hi, this is an article</p><p><img ...
0
votes
0answers
79 views

Don't strip iFrame without “unfiltered html” capability

I want some custom user roles to be able to insert youtube iFrames in the wp_editor. But since I don't want these users to have the whole scope of the capability "unfiltered html", I don't know how to ...
5
votes
1answer
539 views

Hide “Add media”, html editor from tinymce

I have a custom post type which supports editor. (WordPress ver. 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 ...
1
vote
3answers
1k views

Preserving tabs and line breaks in <pre><code> when switching from HTML to Visual Editor

Tabs placed in a <pre><code></code></pre> block are stripped and line breaks are removed leaving a single continuous line of text. This occurs when switching from html to ...
0
votes
2answers
265 views

How can I make the page editor trust me?

I want two images to appear side-by-side. However, WordPress inserts a line-break between the elements, even if I use the HTML editor rather than the Visual editor. How can I make the editor trust ...