I have made changes to the files:
td-composer\legacy\Newspaper\includes\modules\td_module_flex_1.php
td-composer\legacy\Newspaper\includes\modules\td_module_flex_7.php
How do I incorporate this into the child theme?
I read the documentation but I don’t understand.
Hi,
You’ll need to focus on this section of our documentation for child theme -> https://i.imgur.com/tf8tYIk.png -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ set in child theme the subfolders includes\shortcodes -> https://i.imgur.com/dWkLEKW.png
Let me know the results!
Thank you!
Hi Calin,
so your answer is “NO, you can’t incorporate these changes into child theme and you have to edit these files manually after every update of theme”?
I have similar problem, I need to modify single post template and I figured out only file affecting post appearance is ../wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php
Hi pavel_t,
The answer is that you can set these files in the child theme, but you need to set the right path, all the file from td-standard-pack/Newspaper and td-composer/legacy/Newspaper can be set in child theme.
In your case you want to edit a single post template from tagDiv Cloud Library, this can be edited only with tagDiv Composer, and can not be set in child theme.
Thank you!
Hi,
If you want to use the default post template, then you need to copy the td-composer/legacy/Newspaper/loop-single.php and single.php file in wp-content/themes/Newspaper-child/loop-single.php and single.php -> https://i.imgur.com/y14lTos.png if you want to edit the rest of the theme standard post styles, these are in wp-content/plugins/td-standard-pack/Newspaper/parts/single and you need to set the file in child theme like this wp-content/themes/Newspaper-child/parts/single/loop-single-1.php and single_template_1.php
Thank you!