Child theme can't override the loop-single.php

Posted in: Newspaper
Post count: 15

Hi in my child theme (child theme folder) i have single.php and loop-single.php. When i made changes inside single.php i see changes but with loop-single.php it’s not working. I have to change code inside /wp-content/plugins/td-standard-pack/Newspaper tham it’s working.

Post count: 18283

Hello !

Please make sure that you have followed all the steps found in here: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you !

Post count: 15

Yes, I would like to update a file loop-single.php which is in the e /wp-content/plugins/td-standard-pack/Newspaper folder directory. So i copied the loop-single.php file into Child theme folder like /Newspaper-child/ not in Newspaper-child/part/single. And any updates has no effects

Post count: 18283

Hello !

In order for this to work you have to copy loop-single and single file. So you will have loop-single1 and single1.

Let us know the results.

Thank you !

Post count: 15

I have assume you asked to me copy loop-single.php as loop-single 1.php to the folder of /Newspaper-child/ the same with single.php. If yes doesn’t work at all. But when i will get more time i will play with it.

Post count: 18283

Hello !

Normally this should work. As long as you copy both loop-single and single-template: https://www.screencast.com/t/V2aM1NO7Fn0. You can find this in our guide too: https://www.screencast.com/t/ld2PKb58lr

I hope this was helpful !

Thank you !

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