When I redesigned this site, I discovered my big mistake on the old version. A lot of functionality has been added over time to the functions.php file of the old theme. This not only increased the file size but also increased the likelihood of errors on the site each time you make changes to it. Therefore, it was decided to create a plugin for the entire site (plugin with hooks from functions.php), which was not tied to the template. What kind of plugin it is, why it is needed, and how to ...