Hi, i try to put php code after content for ACF, i have spent several hours but have no results.
i tryout to put the code in single.php and try in loop-single.php without results
Where can i put the code? also to mension that my single post page have the single template
Please help is needed urgent
Thanks
Hi,
In order to add some custom php code in post in Newspaper v9.7 , you need to edit the loop-single-n, n is for the number of the template that you are using, for example if you are using post template 1 you need to go in plugins/td-composer/legacy/Newspaper/parts/single/loop-single-1.php
-> https://www.screencast.com/t/eCPWKrIl2
This settings will apply on responsive version too, but if you use mobile theme you’ll need to make this changes in plugins/td-composer/mobile/single.php too.
Hope this will help you!
Thanks.
Sorry to ask again, i changed the template in plugins/td-composer/legacy/Newspaper/loop-single.php
Second: i try to put it in my child theme and make an order td-composer/legacy/Newspaper/ and put her the changed file but it does not work
how can i become the changed file working, do i have to put something in my functions.php?
Hi,
Since Newspaper v9.7 the child theme is working only for the functions.php and style.css files.
We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/
if you want you can try the implementation for the child theme provide by an user in this topic -> https://forum.tagdiv.com/topic/issue-with-9-7-update-changes-single_template_-in-child-theme/
Thank you for your understanding!