WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Strip certain HTML code from posts (5 posts)

  1. impelus
    Member
    Posted 8 years ago #

    Is there anyway to make the blog strip certain HTML codes from the post when it is posted. I am often copying and pasting in articles that mess up my blog. I manually have to go in and remove DIV, TABLE, and other tags so the post works properly.

  2. moshu
    Member
    Posted 8 years ago #

    The best way: to kill the wysiwyg editor.

  3. impelus
    Member
    Posted 8 years ago #

    I realize that, but I need the simple editor so that people can post the blog easily. Most know absolutely no HTML code. Most of the articles are being grabbed from the web to be discussed internally.

  4. moshu
    Member
    Posted 8 years ago #

    Then you are doomed. The wysiwyg editor is a much more dangerous thing in the hand of computer-illiterate people than you think... For posting something in WP's "normal" editor they don't really need the wysiwyg. Just teach them to paste the text and hit publish. That's enough for them :)

  5. impelus
    Member
    Posted 8 years ago #

    actually, you are right. it will be much easier for them to paste the text in and just highlight to bold the section titles and put a link around the article title linking to the source.

    i just did it from admin w/ wysiwyg off (disabled already due to runPHP) and it worked out much easier than the hassles i have sometimes on what seem to be the easiest articles.

    thanks a bunch.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags