Have you tried:
– deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems.
– resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
My first post doesn’t make any sense, because I can’t seem to post either < br > or & nbsp; as it’s stripped, but I’ll try your suggestions and report back. Thanks.
All 3 points done, but problem persists:
- deactivated all through admin interface, problem remained
- switched to Twenty Eleven, problem remained
- reset through FTP to plugins folder, problem remained
All plugins I have (2) are custom made and don’t interfere with the live editor (don’t even use it), and I can’t see how the theme can interfere with the WYSIWYG editor.
Previous installations of WP worked correctly, but this one doesn’t seem to add the necessary HTML tags for new lines/paragraphs from inputed text.
More clearly stated problem: I input in visual editor
line1
(blank line)
line2
and HTML output is:
line1
(blank line)
& n b s p ;
(blank line)
line2
Therefore the displayed text on frontend is
line1 line2
Added spaces in & nbsp ; so this forum doesn’t trip it and (blank line) means exactly that.
Any other thoughts ?
switched to Twenty Eleven, problem remained
Try the default 2012 theme.
All plugins I have (2) are custom made and don’t interfere with the live editor (don’t even use it), and I can’t see how the theme can interfere with the WYSIWYG editor.
Any plugin or theme can cause all kinds of problems right across the wp-admin area – including affecting editors. Can you replicate the problem using the default 2012 theme with all plugins deactivated?
Thank you, solved the problem.
I figured WP would show me the HTML code on admin in the Text tab, and as I wasn’t seeing correct tags I figured that was the problem. What I was missing was a
echo apply_filters(‘the_content’, $page_data->post_content);
instead of just
echo $page_data->post_content;
which would make sense if I was already seeing final HTML code in the Text tab of Live editor.
Thanks for your help !