Title: Javascript folder removed when updating theme
Last modified: January 22, 2024

---

# Javascript folder removed when updating theme

 *  Resolved [worldwideg](https://wordpress.org/support/users/worldwideg/)
 * (@worldwideg)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/javascript-folder-removed-when-updating-theme/)
 * Hi guys,
 * I just updated the theme and noticed that when I do, my javascript folder that
   I have created is deleted. I am not sure if any additional custom code would 
   be deleted on theme update as I only have the javascript at the moment. My question,
   however, is if this is supposed to happen? Do I have to re-upload the custom 
   code I have every time I update the theme?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-folder-removed-when-updating-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [irinelenache](https://wordpress.org/support/users/irinelenache/)
 * (@irinelenache)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/javascript-folder-removed-when-updating-theme/#post-17365585)
 * Hello [@worldwideg](https://wordpress.org/support/users/worldwideg/),
 * Thank you using Neve!
 * All the changes/additions made in the theme code are lost during the theme update.
   If you want to add some extra code, you will have to use a child theme. [Here](https://docs.themeisle.com/article/985-how-to-create-a-child-theme-for-neve)
   is a documentation page about how to create a child theme specifically for Neve.
 * I hope this helps!
 * Best regards,
 * Irinel

Viewing 1 replies (of 1 total)

The topic ‘Javascript folder removed when updating theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/neve/4.2.4/screenshot.png)
 * Neve
 * [Support Threads](https://wordpress.org/support/theme/neve/)
 * [Active Topics](https://wordpress.org/support/theme/neve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/neve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/neve/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [irinelenache](https://wordpress.org/support/users/irinelenache/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/javascript-folder-removed-when-updating-theme/#post-17365585)
 * Status: resolved