Hello Support,
We have been using Newspaper theme for our site, we recently updated theme to its latest version from v9 and many things broke on our site. We found that the main theme has moved parts and include folder to its plugin, we had customized may files in these folder via child theme. Now as the files are moved to plugin we are not able to overwrite it in child theme. Is there any other alternative way we can customize this ? we know we can update plugin file directly but that is not feasible.
Please suggest how we can overwrite plugins files easily.
We also have some speed related issues, but we will discuss it on another ticket.
Thanks,
Lakh
Hi,
Yes, please note that the Newspaper theme update brings a change for the theme implementation. Most of the theme files were moved into the tagDiv Composer plugin as per the requirements of Envato: https://help.author.envato.com/hc/en-us/articles/360000472383-WordPress-Theme-Requirements. We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/ First of all, please make sure that you have updated the theme to the latest version of it which is Newspaper 9.7.4 because in that update, we were improved the Child Theme functionality and this should works as expected, if the child theme will be used and customized according to our documentation from here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
Catalin thanks for your reply.
Yes we have updated theme to its latest version on our site.
The issue is as theme has moved /parts and /includes folder to plugin we are unable to overwrite it via child theme. These two folders were inside theme folder previously we easily customized file inside these folder via child theme. Now as the files are moved to plugin folder /td-composer/legacy/Newspaper/ we are unable to modify files.
Eg.
Say we want to edit header-style-1.php via child theme its not possible it breaks the header as this file has require_once(‘header-menu.php’) we need to change it to plugin paths, then it works.
Also /include folder files like /includes/modules/td_module_1.php we cant edit it.
some files in /parts folder is working but some doesn’t and /include folder no file is editable. Can the theme add compatibility that we could edit the files via child theme easily. This would be really helpful as we have customized lots of theme core files from /parts and /includes folder which are now moved to plugin.
Hope you will now have a better idea what we are trying to achieve.
Thanks.
Also yes we have customized via child theme following the documentation link given below.
#4 says you can edit header file but its not working.
can you please check into it.
https://forum.tagdiv.com/the-child-theme-support-tutorial/
Hi,
There may be some issues with the child theme but we will try to fix them as quickly as possible.
If you want to use the header file in the child theme, copy the header file from the composer – http://prntscr.com/oirye2
In the child theme main folder – http://prntscr.com/oirym7 it should work fine.
The modules should work fine, just create the same directory path to them in the child theme. So for example I I want to remove the post title from module 4 in the child theme
– http://prntscr.com/ois3yu – http://prntscr.com/ois47t – http://prntscr.com/ois4h7
For the headers there is a modification that has to be made after copying them in the child theme, an example with header style 4 – http://prntscr.com/ois5gf
Please let me know if you have more questions.
Thanks
Hello Simon,
Thanks for your reply !!
Yes we had customized the header-style-1.php as per your screenshot its working.
But there are other few theme core files we had customized via Child theme, they are no more working.
List of not working files:
/search.php
/parts/page-search-box.php
/parts/header/logo-h1.php
/includes/wp_booster/td_category_template.php
/includes/wp_booster/td_module_single_base.php
Can there be a new update to theme released so that all child theme file issues are solved. Also we are working on other files list that aren’t editable via child theme.
Thanks.
Hi,
There will be an update released this week most likely, child theme support will be further improved. I should note that files from the wp-booster aren’t currently supported to be modified in a child theme, this may change however.
The post template files can be used in the child theme, just be sure to copy both the loop-single and the single PHP files – http://prntscr.com/ojq81b
The issue with using templates from the root theme (not in the composer plugin) meaning single, search, 404 etc in the child theme, will be fixed in this next update. There are also plans as far as I know to allow it for the comments file as well, should be happening in the next update as well. Let me know if you have more questions.
Thanks
Hello Simion,
Thanks for your reply !!
We will be waiting for the new updates, so we can customize the files and get our site as it was before :).
Thanks for looking into it. We hope the new release will solve all issues and all should be good there after.
Thanks again for your help !!
Hello Support,
Thanks for adding support for legacy files edit in child theme. But, still there are some files that we cannot edit eg td-composer/legacy/common/wp_booster/ files
We have customized many files from this folder in our child theme when the files were in theme folders to match our designs. Could you please also add support for the files from wp_booster folder so we can customize it via child theme.
Looking forward for your reply !
Thanks.
Hello Simion,
Thanks for your reply !!
Yes please add this to the future updates so we can customize site as per our requirements. Can there be a quick release sent out so we can move ahead with the changes. Or can you get us files we need to change to make changes to use booster files via child theme.
Thanks.
Hello Simon,
Any news on above point for adding support for child theme, we are unable to update theme on our site due to these template file structure changes in main theme folder.
Could you please give an update is this solved in latest version of theme and can we work on updating theme to its latest version ?
Thanks.
Hi,
Thanks for your reply, we’ve been waiting for months for this to be solved in parent theme as we have done lots of customization in template files via child theme to fit our custom design customization. Would you please push this issue to the developer team and ask them to solve it in next update as we are unable to update theme to its latest version because of it. Hope you understand!
Thanks.