As of Tuesday, May 24, 2016; I’ve discovered that the Visual Editor in WordPress 4.5.2 is actually a lot better since I last tried it out, which was when WordPress 2.7 was in play. Unlike in WordPress 2.7; JAWS For Windows actually plays nice and lets me get some work done without a fuss. So, between Word and WordPress I think it will be great going forward; the easiest way for me to code my posts the way I like, “Efficiently.”
I’ve also found this latest version of WordPress and its editor to be handy for fixing my client’s mistakes when they are posting to their blogs. I’m a bit of a stickler for clean code; industry standards being something worth adhering to for everyone’s sake. There are times when unique code is warranted; like when developing cutting edge software. But when writing a blog post other people just might actually want to read…
WordPress themselves has a pretty good tutorial on how to post to a blog using both the Visual and Text Editor functionality that is built into any WordPress 4.5.2 site. And, “Yes,” that is just what comes in the WordPress build itself, without the additional plugins and other assorted crap.
Personally; I have a few little things to add to what they say about publishing to a blog using the Visual and Text Editors in sequence. Putting up error free posts to your blog can be achieved by…
- Making sure all of your text has the appropriate tags around it: When working in the Visual Editor; while WordPress will add the appropriate coding around bulleted text and other items at the click of a button, WordPress will not add the “P” (paragraph) Tags around text that is meant only to be a paragraph before you publish your posts. However, it will do so if you select your paragraphs and click one of the alignment options found in the WordPress Post Editor.
- Taking out the extra line breaks or blank lines: If you’ve got extra blank rows between your lines of code there is a chance that WordPress might attempt to add extra “P” tags where they don’t belong.
Whether you are pasting your post into the Visual Editor from something like Microsoft Word 2010, or have written your post in the WordPress Visual Editor directly; you will want to make sure that your paragraphs are aligned; you’ve created your bulleted lists, etc. It is important that you do this before switching to Text View in the Visual editor; otherwise you will lose any code changes you make once in the text editor.
Once all is written and formatted in the Visual Editor the way you want; simply switch to the Text Editor and look at your code. Is all of your text wrapped in the appropriate HTML code? Are there blank lines between other lines of code?
If there is text without code around it; simply return to the Visual Editor and use one of the options to fix that. If there are blank lines between your lines of code; simply remove them before saving your post as a draft, scheduling it, or hitting the publish button. Once all that is done, “You’re good to go!”