wp_booster_functions

Posted in: Newspaper
Post count: 39

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?

Post count: 20688

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/

Post count: 39

as soon as i copy the function file to my child theme, my site is completely empty, even if I don’t change the code at all

Post count: 20688

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.

Post count: 39

thank you!

i had to make changes in sidebar.php and td-config.php
did I understand correctly that these changes cannot be included in the child theme or is there a way to do so?

Post count: 20688

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.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.