Title: HTML code in posts is trimmed
Last modified: August 18, 2016

---

# HTML code in posts is trimmed

 *  [ish](https://wordpress.org/support/users/ish/)
 * (@ish)
 * [19 years ago](https://wordpress.org/support/topic/html-code-in-posts-is-trimmed/)
 * Hi
    I don’t know why but everytime I try to paste any sort of html code, it is
   trimmed with ‘**/>**‘ towards the end of the code.
 * I got this code for my google calendar:
 * `<iframe src="http://www.google.com/calendar/embed?src=harkinder%40yahoo.com&
   amp;chrome=NAVIGATION&amp;height=588" style=" border-width:0 " width="640" frameborder
   ="0" height="588"></iframe>`
 * and it turned into this….with the closing tag </iframe> gone…
 *     ```
       <p align="center"><iframe src="http://www.google.com/calendar/embed?src=harkinder%40yahoo.com&amp;chrome=NAVIGATION&amp;mode=AGENDA&amp;height=573" frameborder="0" width="480" height="588" />
       ```
   
 * THEN…i tried HTML code for a flash object
 * ORIGINAL CODE:
 * `<object width="500" height="580" align="middle"><param name="FlashVars" VALUE
   ="ids=72057594105420237&names=Nihangs&userName=Captain Suresh&userId=79349001@N00&
   titles=on&source=sets"></param><param name="PictoBrowser" value="http://www.db798.
   com/pictobrowser.swf"></param><param name="scale" value="noscale"></param><param
   name="bgcolor" value="#ffffff"></param><embed src="http://www.db798.com/pictobrowser.
   swf" FlashVars="ids=72057594105420237&names=Nihangs&userName=Captain Suresh&userId
   =79349001@N00&titles=on&source=sets" loop="false" quality="best" scale="noscale"
   bgcolor="#ffffff" width="500" height="580" name="PictoBrowser" align="middle"
   ></embed></object>`
 * and it turned into this once i posted it into the rich text editor for my new
   page.. and clicked SAVE (i even tried changing it again using the HTML button
   in the rich-text-editor, BUT NO LUCK)
 *     ```
       <object height="580" width="500" align="middle">
       <param value="ids=72057594105420237&amp;names=Nihangs&amp;userName=Captain Suresh&amp;userId=79349001@N00&amp;titles=on&amp;source=sets" name="FlashVars" />
       <param value="http://www.db798.com/pictobrowser.swf" name="PictoBrowser" />
       <param value="noscale" name="scale" />
       <param value="#ffffff" name="bgcolor" /></object>
       ```
   
 * Please advise…thank you
    Ish

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/html-code-in-posts-is-trimmed/#post-576754)
 * Are you putting code into the wysiwyg (visual) editor? That’s a big mistake.
   
   Disable it, if you want to use your own code in posts.
 *  Thread Starter [ish](https://wordpress.org/support/users/ish/)
 * (@ish)
 * [19 years ago](https://wordpress.org/support/topic/html-code-in-posts-is-trimmed/#post-576831)
 * i think i am…
    all i am doing is going to make a page and the rich text editor
   shows up….and then i paste my code….i don’t how else to do it?
 * i tried clicking on the HTML button in the visual editor and pasting it there…
 * i really don’t know where to go..
 *  Thread Starter [ish](https://wordpress.org/support/users/ish/)
 * (@ish)
 * [19 years ago](https://wordpress.org/support/topic/html-code-in-posts-is-trimmed/#post-576848)
 * can any one help?
 *  Thread Starter [ish](https://wordpress.org/support/users/ish/)
 * (@ish)
 * [19 years ago](https://wordpress.org/support/topic/html-code-in-posts-is-trimmed/#post-576851)
 * actually i was using 2.0.5 i upgraded to 2.2 and i see where i can add the code…..
   thank you for the help…
    u guys arr great
 *  [omikami](https://wordpress.org/support/users/omikami/)
 * (@omikami)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/html-code-in-posts-is-trimmed/#post-576955)
 * In the admin panel, under USERS, select a username and you will be brought to
   a page where you can edit a users profile. In that page should be a checkbox 
   to disable the WYSIWYG editor.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘HTML code in posts is trimmed’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [omikami](https://wordpress.org/support/users/omikami/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/html-code-in-posts-is-trimmed/#post-576955)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
