custom code

Posted in: Newspaper
Post count: 2

Dear Support,
What file should I override in my Newsmag child theme in order to place some custom code in a single post, after the “Related articles” / “More from author” section?
I tried loop-single.php, but no effect. It seems like the theme does not use this file at all.
If I copy single.php (and do not modify anything), the related articles section disappears, only the author name is shown.
Thanks for your help.
Best regards,

Post count: 35449

Hello,

That is because there you need to copy one more file, the single_template_x.php, please check this part from our documentation -> http://prntscr.com/p1jktp -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ also if you want to edit the default post template you’ll need to copy those to files single.php – loop-single.php from wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php directly in the child theme folder, only the post templates from 1 to 13 need to be set in Newspaper-child\parts\single.

Hope this will help you!
Thank you!

Post count: 2

Thanks for your help.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.