Good morning tagDiv. I’m writing you about the use of the child theme. I need to edit the single.php and the loop-single.php.
I have already written you on ThemeForest:
—
Good morning. It is possible to edit the default single.php? I read this tutorial https://forum.tagdiv.com/the-child-theme-support-tutorial/ and it works for single-template-x.php and loop-single-x.php but I don’t understand how to edit the default single and loop-single. Can you help me, please?
—
So you mean the default post template. After the latest theme update it is possible. The child theme has been improved. Copy both the single and loop-single files from the td-composer/legacy/Newspaper folder. Then make a small modification in the single.php file you have copied in the child theme https://prnt.sc/ogo38l It should work fine.
—
Hi, thank you for reply me. It doesn’t work. Here you can view my edited single.php https://www.dropbox.com/s/l7ci14wctq4zi3o/single.php?dl=0
—
Please can you help me?
Hi,
I’ve made some tests and this is working properly -> http://prntscr.com/okbope and http://prntscr.com/okbpau -> http://prntscr.com/okbp1p -> http://prntscr.com/okbnwj results -> http://prntscr.com/okbocn
Just please make sure that you have the last version of the theme ( Newspaper v9.7.4 ) and you are using the child theme that comes with this package.
Let me know the results!
Thank you!
Hi,
Please make sure that you are using the child from the Newspaper v9.7.4 or last theme package v9.8
Also the single.php file from theme root can be set in child them normally -> https://i.imgur.com/kMSrAD9.png -> https://i.imgur.com/8Zn9Fqk.png
Child theme support ->https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
Good morning Calin, thank you. I had the theme at versione 9.3. Now I have updated it and all works good.
I have another similar question: is possibile to edit functions.php and single.php of the mobile theme in a “not destructive manner”?
Thank you in advance for your help.
Hi,
Unfortunately for the moment there are no plans for this because this is a plugin and the child theme is use only for the theme, but I can add it as a suggestion for the coming updates and maybe there will be found a way to do that.
Thank you for your understanding!