Hi,
Normally it depends on the setting in the post edit screen. If the post template is set like this
– http://prntscr.com/of6xy9 it will inherit the general post template setting from the theme panel.
However currently there is an issue in this matter. If a child theme is active the post templates won’t apply correctly. This issue will be fixed in the coming theme update, but for the time being please deactivate the child theme if possible. Sorry for the inconvenience. Let me know if you have more questions.
Thanks
Thanks for your answer,
the actual Update fixed the Problem, that the post template couldn’t be changed, but there is on issue left. The default Template doesn’t appear as expected (see screenshot). The choosen post template in the Arcticle itself is “Panel”. All other templates provided in the site wide post template working correctly. My child-theme doesn’t provide a changed file.
When i deactivate the child theme, the default template shown correctly.
Any suggestions?
Regard,
Robert
Hi,
Should work fine. I have tested this as well. Please note that there are 2 default post templates, the one that is used when the composer is inactive (can be considered a default post template), and one that is used when the composer is active and can be selected for posts.
I believe you have copied in the child theme, the loop single and single files from the theme – http://prntscr.com/ognr3o
Note that this template is used when the composer is inactive. When the composer is inactive a sidebar cannot be set for posts because there will be no post settings available, so the template is not supposed to display a sidebar since it cannot be set.
If you want to customize the default post template with the composer active, please copy it from the composer/legacy/Newspaper folder
– http://prntscr.com/ogo2la
And make a small modification in the single.php file after you copy in the child theme
– http://prntscr.com/ogo38l
Here is the modified code if needed – https://pastebin.com/uaZqtWjM
Please let me know if you have more questions.
Thanks
No, it is a bug in the child theme functionality.
Even when using the standard child theme provided with the theme without any further changes or files copied, the result is not the same as when activating the parent theme.
With the child theme active the default post template is not working.
Please try and copy the loop-single and single files from the composer
– http://prntscr.com/oh60aw
Paste them in the child theme main folder – http://prntscr.com/oh61r6
In the single file you copied make the modification provided above. Then check if the default post template applies properly.
Please let me know. There is indeed an issue in that specific case, meaning post set to inherit the default post template from the theme panel. This suggestion should solve it.
Hello Simion,
for me this solution worked.
But coping those files is just a hotfix for me.
When will this error be fixed, so I can delete those two files?
I can see it coming that with one of the next updates, these files may cause problems and the support-answer will be, that there are two files in the childtheme directory, that shouldn’t be there 😉
Unfortunaltely I just found out, that this issue has not been resolved for custom post types!
Even copying those two files into the child-theme folder nor changing the default template for posts brings back the normal style with sidebars for custom post types.
Switching to the default Newspaper theme shows CPT correctly.
Please help! What can I do to bring the layout back to custom post types, too?
-
This reply was modified 7 years by
be2name.
If you want to use one of the theme post template for a CPT, try to copy the desired single and loop single from the composer in the child theme (main folder).
So for example I have a CPT called td_book and I want to use post template 4 for it. I copied the loop-single-4 and single_template_4 PHP files from the composer in the main child theme folder – https://prnt.sc/omu5sk
The single_template_4 has to be renamed single-yourCPTname, in my case it is single-td_book.
So now the CPT uses post template 4 – https://prnt.sc/omu6r9 – https://prnt.sc/omu6vm
Should work the same for you, please give it a try and let me know.
Hello !
The files are located here: https://www.screencast.com/t/EA441Zb3 In the tagDiv Composer Plugin – Legacy – Newspaper – Parts – Single.
The default one can be found in tagDiv Composer Plugin – Legacy – Newspaper: https://www.screencast.com/t/JwabLdWf ; This one you should copy for the Default Template.
I hope this was more helpfull !
Thank you !
Thank you Vlad, thank you Simion,
copying the single.php from this location and renaming it (in my case) to single-podcast.php fixed the issue. It was not necessary to copy loop-single also.
Please make sure, that this bug is fixed in the next update, so I can delete the file in my child-folder and the default template is used also for CPT. Thank you!


