and nothing will get lost when you change themes.
I am using a child theme.
Also, your site will not get faster when you use less plugins and put everything in your functions.php. It will just make it harder to maintain.
I know. But I like not having hundreds of plugins installed. It is cleaner if I just copy a few snippets of code into my function.php and label them with /* */
or //
.
If you use the plugin, you get all updates and bug fixes.
I didn’t say this above but I edited the code slightly. So I would end up not updating the plugin anyway because then I would need to edit it every time.