Technology Programming

Switching Between Visual and HTML Editor in WordPress Strips Out the Code

    Simple Code

    • The WordPress editor allows you to switch between its WYSIWYG editor and its HTML editor on-the-fly. When you click "HTML" on a post, all of that post's coding is revealed -- to an extent. Even though, for example, WordPress allows you to define styles and attach stylesheets to blocks of text, these aren't always reflected in the code. A "<p>" code, for example, will be removed since WordPress assumes all text is body -- or paragraph text. This behavior is normal.

    Complex Code

    • While the WordPress editor strips basic code out of the HTML as part of its normal operation, most complex code should remain -- things like "iframe" and "embed" codes, for example. Even "table" codes should stay in your HTML, and if these bits of code are coming out when you toggle back to the visual editor, your WordPress install may have become corrupted. In this event, you may have to reinstall the WordPress software on your server.

    Updates

    • From time to time, the WordPress developers release updates to the core WordPress files. When you log in to the WordPress administrator area, click on "Updates" under the "Dashboard" heading on the left side menu. If a newer version of the core software exists, you should see a notice at the top of this screen. Click "Download" to upgrade your existing installation automatically. This process won't affect your content, but it will update the editor files and perhaps fix any errors with formatting and code.

    Reinstall

    • When core files become corrupted and your editor isn't working correctly, consider reinstalling the entire WordPress platform. This is an automated process that you control through the WordPress control panel. Log in to your site and click "Dashboard" and then "Updates." Click "Reinstall now" to replace the core files on your site with a fresh copy. The process doesn't affect your database so your content is untouched, but you can create a backup of your content through the "Tools" menu before proceeding.

SHARE
RELATED POSTS on "Technology"
WordPress - How to Set up a New Theme to WordPress 3.
WordPress - How to Set up a New Theme to WordPress 3.
Solution of Creative Web Design
Solution of Creative Web Design
The three disciplines of User Experience
The three disciplines of User Experience
Web Design Sheffield Options For Professional Enterprises
Web Design Sheffield Options For Professional Enterprises
Do you have what it takes?
Do you have what it takes?
Segway Cost
Segway Cost
Microsoft Access 2010: What's Coming with Office 2010?
Microsoft Access 2010: What's Coming with Office 2010?
Companies of Web Development in Ireland Provide Designs that Work
Companies of Web Development in Ireland Provide Designs that Work
Penguin Update to Put Red-Flags on Negative SEO
Penguin Update to Put Red-Flags on Negative SEO
Innovative web 2 design templates can make your business famous quickly
Innovative web 2 design templates can make your business famous quickly
Building A Search Engine Friendly Website
Building A Search Engine Friendly Website
Exceptional Advice To Build Up Your Internet Marketing
Exceptional Advice To Build Up Your Internet Marketing
The Benefits of Selecting The Right Hosting Company
The Benefits of Selecting The Right Hosting Company
Is There a Methodology for Making Successful Logos
Is There a Methodology for Making Successful Logos
Benefits of Ruby On Rails Development
Benefits of Ruby On Rails Development
The Power of Colour and Shapes in Your Infant's Life.
The Power of Colour and Shapes in Your Infant's Life.
Advantages of Hiring PSD To HTML Service Providers
Advantages of Hiring PSD To HTML Service Providers
How to Make Responsive Web Design Attractive?
How to Make Responsive Web Design Attractive?
Converting PSD to Responsive HTML
Converting PSD to Responsive HTML
Just a few realy really hints and tips when it comes to website design but look for.
Just a few realy really hints and tips when it comes to website design but look for.

Leave Your Reply

*