We completed the instructions for building the child theme at https://forum.tagdiv.com/the-child-theme-support-tutorial/ including building the subdirectories under Newspaper-child as illustrated in the tutorial. After completing this, we selected/activated the child theme in Appearance-themes, and got a fatal error. Have you seen this before? Any clue why we’re getting the failure? Site is amisun.com.
-
This topic was modified 6 years by
webmasteramisun.com. Reason: added site url
Hi,
Unfortunately i do not have access to your account -> https://i.imgur.com/7pWkOz5.png please provide me some screenshots with the settings you’ve made and the fails you’ve set in child theme in this way I will be able to see from where is the problem.
Thank you!
Hi Calin,
Here are the screenshots:
https://www.dropbox.com/sh/31os9mewgzq3apf/AABRwraI9wEWvo42YQybruqja?dl=0
The first shot shows the new child theme in the wp-content/themes directory (1062).
1063 shows what is in Newspaper-child directory. The TagDiv instruction is “Simply add the files in newspaper-child directly and the system will rewrite files from the above folder” for the files in the Newspaper theme root directory. Both the “includes” and “parts” directories are there.
1064 shows the three subdirectories in the “includes” directory contents.
1071 shows “category templates ” directory contents.
1066 shows “footer” directory contents.
1067 shows “header style” directory contents.
1068 is “category top posts styles” directory contents.
1069 is “shortcodes” directory contents.
1070 is the “parts” directory which includes “footer” and “header.”
We have a Tagdiv WordPress account; if you email me I will send you credentials.
Thank you!
Hi,
There is no need to set all the theme files in child theme, only these that you want to edit, please try only with empty child theme and add file one by one and check to see if there appear some problems or not.
Also we recommend to avoid child theme and use tagDiv Cloud Library and with tagDiv Composer, in this way you’ll be able to edit the whole website.
Let me know the results!
Thank you!
Thanks for your reply. We didn’t move all the files to the child theme. Using the guidance
https://forum.tagdiv.com/the-child-theme-support-tutorial/ we attempted to select specific files. Unfortunately we just don’t understand some of what’s in the tutorial. Here are some specific questions.
1. In the root child theme, the example shown in the tutorial shows files being placed in this directory. It’s not clear to us what should go in this directory. Can you please be more specific?
2.We made changes to the header and footer within theme panel. We think we understand which files these header and footer changes impact, but there doesn’t seem to be any mapping between theme functions and the files that they change so that we can ensure that we chose the right ones. Can you please provide a document that explains which theme options write which files?
3. When you saw the directory structure we created in the child theme, did that look correct? We tried to follow the example in the tutorial.
Thank you so much!
Hi,
1. SO the theme functiones are in tagDiv Composer and in standard pack
2. Unfortunately we do not have a full guide for this, where to say what file and when it will be set/overwrite sorry.
3. Only the files with folders mentioned in our documentation will work in child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ the two plugins has the same structure -> https://i.imgur.com/vwtAasR.png -> https://i.imgur.com/cX2qmci.png therefore each file you choose to use in child them it will work.
Now I will try to explain how the header file is working. Our theme has 3 header files, on in theme, one in tagDiv Composer and one in tagDiv Standard Pack, now if the standard pack is enable and you do not use a cloud template then you’ll use the file from standard pack, if this plugin is disable or you use a cloud header from tagDiv Cloud Library then it will be use the file from composer, if both of these are disable will be display the one from theme.
But if you set a header file in child theme as in our guide you can use each header file you want (from composer or standard pack) these will work.
Now in tagDiv Standard Pack are set the default templates and tagDiv Composer is just a builder that can edit pages and cloud templates.
Thank you!