child theme

Posted in: Newsmag
Post count: 9

I have updated theme item but when active theme child is shown a few warning codes in the blog and in the administration panel please, can you help me to solve this problem. The lines of code that come out are:

Warning: include(/home/obispadoelalto/public_html/demo/wp-content/themes/Newsmag/includes/td_wordpres_booster.php) [function.include]: failed to open stream: No such file or directory in /home/obispadoelalto/public_html/demo/wp-content/themes/Newsmag-child/functions.php on line 9

Warning: include() [function.include]: Failed opening '/home/obispadoelalto/public_html/demo/wp-content/themes/Newsmag/includes/td_wordpres_booster.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/obispadoelalto/public_html/demo/wp-content/themes/Newsmag-child/functions.php on line 9

Post count: 62

It happens because there is no td_wordpres_booster.php anymore. You can fix this by removing the following code from your functions.php in your child theme:

if (!defined('TD_THEME_WP_BOOSTER')) {
include TEMPLATEPATH . '/includes/td_wordpres_booster.php';
  • This reply was modified 11 years by fbengo. Reason: functions.php instead of style.css ofcourse xD
Post count: 9

Many thanks for your help, please a consultation more, when you download the theme files i find a folder that has the name of “patch_1.0_1.1” where there are that fit these files.

Post count: 62

Your question is not completely clear to me. Please explain more clearly.

The folder “patch_1.0_1.1” seems to contain the modified files, although it would be better to use the full theme file instead of the patch, because the unnecessary files will be removed.

Btw, I am not part of the developer team 😉

Post count: 9

Thanks again for your feedback, I clarify my question: when I download all files & documentation on ThemeForest. one included a folder named “patch_1.0_1.1” My question is: where to put files containing that folder.

Post count: 9544

The patch files over-ride/replace the existing files of the same name in the main theme folder.

Easier to follow the update docs here
https://forum.tagdiv.com/how-to-update-theme/

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