Title: WordPress adding extra code to post
Last modified: August 18, 2016

---

# WordPress adding extra code to post

 *  [sosa21](https://wordpress.org/support/users/sosa21/)
 * (@sosa21)
 * [20 years ago](https://wordpress.org/support/topic/wordpress-adding-extra-code-to-post/)
 * Hello, I’m adding some html to the bottom of a post for a dropdown menu advertisment
   and for some reason WordPress keeps adding a and then in the code making it not
   work when clicked. Can someone help me out with this?
 * [http://www.chicagocubsblog.net](http://www.chicagocubsblog.net) is my blog and
   the newest article is the one that I am talking about.
 * Thanks a bunch

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

 *  [resiny](https://wordpress.org/support/users/resiny/)
 * (@resiny)
 * [20 years ago](https://wordpress.org/support/topic/wordpress-adding-extra-code-to-post/#post-380579)
 * do you have the option checked for wordpress to correct invalid code? that might
   be it
 *  Thread Starter [sosa21](https://wordpress.org/support/users/sosa21/)
 * (@sosa21)
 * [20 years ago](https://wordpress.org/support/topic/wordpress-adding-extra-code-to-post/#post-380590)
 * I unchecked that box but it still doesn’t do anything different. I removed the
   and where I didn’t need them and for some reason it added them right back.
 * I was under options > writing > and removed the WordPress should correct invalidly
   nested XHTML automatically cbeckmark and saved.
 * Any other ideas?

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

The topic ‘WordPress adding extra code to post’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sosa21](https://wordpress.org/support/users/sosa21/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/wordpress-adding-extra-code-to-post/#post-380590)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
