Unable to override single post template

Posted in: Newspaper
Post count: 3

Hello,

I’m trying to override a file using a child theme. I carefully read the official documentation, but none of the provided solutions worked for me.

This is the website and I need to override the single blog post template. In Theme Settings —> Post Setting —> Default site post template (site wide) I have “Default” as selected option. So I tried by copying and editing the loop-single.php file, but nothing changed. I also tried with every file inside wp-content\plugins\td-composer\legacy\Newspaper\parts\single, without success.

Am I missing something?

Thanks for your support and 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: 3

Thanks, I just copied the files single.php and loop-single.php and I’ve been able to override the default template for blog posts.

Have a nice day!

Post count: 35449

If you have other questions related to our theme, just let us know!
Have a nice day!

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