Title: Change wordpress files without change
Last modified: March 31, 2018

---

# Change wordpress files without change

 *  [ndrewebdev](https://wordpress.org/support/users/ndrewebdev/)
 * (@ndrewebdev)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/change-wordpress-files-without-change/)
 * Hi
 * Whats the way when i want to change some woocommerce or wordpress files, or plugin
   files, but after refresh the plugin i lost the changes? Can you help me how can
   i change things outside the file, so ehen i refresh a plugin my “hack” still 
   working.
 * Thanks
 * Ndrew

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

 *  [ephaemera](https://wordpress.org/support/users/ephaemera/)
 * (@ephaemera)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/change-wordpress-files-without-change/#post-10134272)
 * Hi ndrewebdev,
 * Sounds like what you need is a child theme. With a child theme, you can override
   both original, parent theme and plugin code without theme and plugin updates 
   wiping out your changes.
 * You can find an overview of child theme development here: [https://codex.wordpress.org/Child_Themes](https://codex.wordpress.org/Child_Themes)
 * Note also that you’ll need to keep the parent theme installed so your child theme
   will work, since you’re overriding only selected bits of code. The codex is pretty
   straightforward, but if you have any problems or questions, let me know and I’ll
   try to walk you through it.
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/change-wordpress-files-without-change/#post-10134292)
 * I second the use of a child theme. I just wanted to add that you can also override
   WooCommerce templates in a child theme by placing altered templates in a specific
   child theme sub-folder structure. More details at the WC site:
    [https://docs.woocommerce.com/document/template-structure/](https://docs.woocommerce.com/document/template-structure/)
 * As noted on that page, you are much better off using the action and filter hooks
   provided instead of altering templates. But sometimes there is no better solution
   other than overriding templates.

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

The topic ‘Change wordpress files without change’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/change-wordpress-files-without-change/#post-10134292)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
