Hi,
if I add something to the file wp_booster_functions or another file in the same folder in my child theme, then my site crashes or the change is not displayed. If I make the same change to the file in the original theme, however, the desired change occurs.
What do I have to consider if I want to add a function to this file?
Hi,
Add it to the functions file, in the child theme would be better. This is the functions file
– https://www.screencast.com/t/fBboeXBr
Copy the file in the child theme and enter the desired codes.
From the theme booster folder not all files are supported
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
Sorry my mistake, no need to copy the file, the child theme already has a functions file
– https://www.screencast.com/t/9Tl8nerWTq
Leave the main functions file of the theme where it is, enter codes in the child theme functions file. Sorry again for my mistake.
I believe those files are not supported to be modified through the child theme, that means you will have to modify theme directly. Make a backup of them and replace the new ones after a theme update.
Before doing that however, be sure to first check if they appear in the list of modified files provided in the theme changelog, maybe they will be modified on our part as well.