This problem occurs when you paste some some HTML or provided code from a source like EventBrite while using the text editor tab, and then switch the tab to visual editing. The code you just put in will be stripped! Very annoying. There are two solutions.
Save with Text Editor Open
Don’t switch back to the WordPress visual editor – instead save the post with the text editor activated. This will save your code as-is, but you’ll need to remember to always save that page or post without switching to the visual editor.
Use a Plugin
The Disable Visual Editor WYSIWYG plugin will let you disable the WordPress visual editor on a page by page basis. So on pages where you have code you don’t want stripped, just activate the plugin and you’ll never have to worry about losing your code!
Latest posts by Diane Ensey (see all)
- Tables That You Can Sort and Search - May 24, 2017
- Responsive Newspaper-Style Columns are Easy with CSS - May 23, 2017
- Use Tooltips to Add Context - May 22, 2017