Correct and better way to customize wordpress theme or/and plugins without lose my changes after un update

i have a theme or a plugin, and i decided to edit it. My trouble is that when i update it (for example the theme's author release an update) i lose my changes, because the update overwrite the theme files (or plugin files). What is the solution ? Child Theme for the theme ? How works it ? And for Plugins ? Thanks

Solutions

As you mentioned, I would set up a child theme.

https://codex.wordpress.org/Child_Themes

Similar questions

How to extend plugins into my theme directory or customize plugin without touching the core files in wordpress?
I would like to know if there was any methodologies to inherit or extend a plugin files to theme directory as woocommerce did and customize them without touching the base/core files. please share any links or thoughts Thanks
Is there a way I can write my PHP code for WordPress a bit more optimized? Right now I feel like there could be a better way
So I am writing a template file for WordPress and I feel like I am using too many echo tabs. Just wanted to see if there is something that is better and easier that I am not doing right now.
Why do I lose all the slashes, i.e., " \ ", in my blogs when I import XML files by the WordPress Importer plug-in?
When I want to import the XML files with the aid of the WordPress Importer plugin, the blogs imported will lose all the slashes, i.e., "\", which are really contained in the XML files imported. Since I have to use the LaTeX plug-in (Latex for WordPress plug-in), it becomes terrible. In fact, maybe weeks ago, it worked well. There was no such proble...
How to avoid the code lose while upgrade the plugin in wordpress
I have been using wordpress plugins and I have customized one of my plugin but I don't want to lose the code what I have created while we upgrade the plugin,is there any way to customize the plugin out side of that plugin folder so we can control it from the theme of the wordpress or some where else.Do any one have solution for this if so please le...
What do I lose if I use Wordpress instead of a php framework for a complex but "standard" webapp? Is the tradeoff worth it?
I know this has been asked a lot and I've explored the other answers, but I still have questions, so hopefully this sheds fresh insight on the debate. A year ago I built a service scheduling web app from scratch in CodeIngniter with the following functionalities: All pretty standard stuff and codeIgniter worked great. Now, a year later, I'm revisin...
Update page (update-core.php) & Plugins page (plugins.php) revert to homepage
I am notified in my admin view of my Wordpress site that I have 1 available update for both the site and plugins (in my Network Admin Dashboard there '1' in red circles next to 'Plugins' and 'Updates')... But when I try to go to both the updates page & Plugins page, the homepage appears? The URL at that point is http:///wp-admin/network/update-...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.