SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2005
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    When HTML code dissappears after editing a page

    Why do various html code dissapear after you make an edit to a page/post via the Visual tab. And more importantly, how can I ensure this doesn't continue to happen?

  2. #2
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have had problems with this in the past, wordpress does some auto formatting when you save it. I cant remember what solution I used to fix it but I have found some solution for you to try

    http://wpgarage.com/tips/make-wordpr...changing-code/

    http://lynnepope.net/stop-wordpress-mangling-code

    It looks like they work with wordpress 2 not sure about 3.

    One thing that you should do is deactivate the visual editor as I remember that making life much better. Just use the code view. You should be able to deactivate the visual editor in 'Users Personal Options'.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •