Child theme .php being overwritten by parent theme

Posted in: Newspaper
Post count: 5

Hey,

I wanted to replace module 6 within block 3 with module 7. This is because there’s no block that calls on module 7, which I want as my frontpage.

I did this by editing the td_block_3.php file and making it call on module 7 instead of module 6 as well as making it so that it only uses the one column layout. You can see how I did this here: http://i.imgur.com/Tz5JHhu.png

Now, this works when I do this within the parent theme. However, when I try to do this within the child theme it doesn’t work. Could you recommend to me the best way to do this through a child theme to get the results I’m looking for?

Any help is much appreciated, thanks.

Post count: 6600

Hi,

Unfortunately the block files can’t be overwritten using child theme, you can see the list of files that can be overwritten using the child theme here: https://forum.tagdiv.com/child-theme-documentation/
If you want to do this you need to make this changes into the main theme files.

Thanks

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