Title: Disappearing Code?
Last modified: August 19, 2016

---

# Disappearing Code?

 *  [Soulgirl](https://wordpress.org/support/users/soulgirl/)
 * (@soulgirl)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/disappearing-code-2/)
 * Hi there,
 * I’ve noticed that WordPress loses code when editing pages/posts.
 * For example, I use a simple bit of code to allow flickr screenshows in my posts.
   I make the blogpost, add the code via the HTML tab and save.
 * I go back to edit that page and the code has disappeared. Why is this? Is there
   a fix?

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

 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/disappearing-code-2/#post-908146)
 * Never switch back and forth between the visual and html editors (this messes 
   up your code). If you are adding your own code, then it is best to disable the
   visual editor in your dashboard profile to prevent this from happening.
 * Try looking for a flickr plugin, it may work better than pasting code:
 * [http://wordpress.org/extend/plugins/search.php?q=flickr](http://wordpress.org/extend/plugins/search.php?q=flickr)
 *  Thread Starter [Soulgirl](https://wordpress.org/support/users/soulgirl/)
 * (@soulgirl)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/disappearing-code-2/#post-908327)
 * The flickr code was just an example. I wonder if WordPress are working on a fix
   for this? If the option to use both visual and html are available then switching
   should work 🙂
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/disappearing-code-2/#post-908329)
 * > If the option to use both visual and html are available then switching should
   > work
 * These two editors just do things very differently. The visual editor is not a
   preview tool (use the Preview button instead) and it is meant for people who 
   don’t want to enter their own code. You can use the visual editor with plugins
   to add different kinds of media instead of pasting in code.

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

The topic ‘Disappearing Code?’ is closed to new replies.

## Tags

 * [disappearing code](https://wordpress.org/support/topic-tag/disappearing-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [iridiax](https://wordpress.org/support/users/iridiax/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/disappearing-code-2/#post-908329)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
