Overriding template files from td-standard-pack when using a child theme

Posted in: Newspaper
Post count: 108

Hi Guys, before version 10 we had a custom ads.php file located in our child theme; we had this so that we could code in some conditional logic in order to have a little more control over which ads show on which categories etc.

The file from Newspaper/parts/header/ads.php was simply copied to the Newspaper-child/parts/header/ads.php which worked fine.

Since the Newspaper 10 update we can now see that this file is located in the td-standard-pack plugin at /wp-content/plugins/td-standard-pack/Newspaper/parts/header/ads.php

Is there anyway to override this in a child theme? we added it to Newspaper-child/parts/header/ads.php but it doesn’t seem to override the version in the td-standard-pack plugin. We’ve also tried adding it to the root folder of the child theme which also doesn’t seem to work.

Thanks
Matt

Post count: 18283

Hello !

Unfortunately not, the only files remaining available in the Child Theme are listed in our documentation here: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you !

Post count: 72

I have the same problems. For test purposes I tried /child-theme/parts/header/header-menu.php, but the file does not override the standard file. How come? What am I missing?

Post count: 18283

Hello !

You have to insert into the child theme the header style you’re using too: https://prnt.sc/qr9673

I hope this was more helpful !

Thank you !

Post count: 72

I added both files: header-menu.php and header-style-1.php. Didn’t change anything. Actually, even a custom page template does not work. It simply does not show up in the page editor. See my other posts:
https://forum.tagdiv.com/topic/update-to-10-page-templates-not-working-anymore/
https://forum.tagdiv.com/topic/update-to-10-child-theme-not-working/
I have alreday contacted the support via email and provided all credentials.

Post count: 18283

Hello !

We will reply via e-mail !

Thank you !

Post count: 72

Any news? My customer waits for an answer. Thank you!

Post count: 18283

Hello !

We are sorry for the inconvenience ! Due to the high number of e-mail request we are a bit late on them. Our team is doing their best in answering all the topics as fast as possible.

Thank you !

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.