Child Theme Customization Not Working

Posted in: Newspaper
Post count: 19

I added in a special ad code for all of the single posts template, but it’s not showing up at all. I added in a Javascript in the child theme header.php and that’s not showing either. Any ideas?

Post count: 20688

Hi,

That will not work anymore. When the composer is active the theme will use a different header, this one – http://prntscr.com/o3ekyo this file can’t be modified in a child theme.

If you want to load a script in the header, you could use the analytics section
http://prntscr.com/o3elx0
Code entered in the theme panel will be saved in the database, so it is safe to add it there.

Thanks

Post count: 19

How can I customize the single post template? Does it not work in the child theme anymore as well?

Post count: 20688

Most of the theme files including the post templates are now in the composer plugin
http://prntscr.com/o4b99f
Modifying them in a child theme isn’t possible at the moment, only directly in the plugin. What exactly would you like to do? Maybe there is a different way.

Post count: 19

I need to add a custom JS code for an ad in this spot on all blog/news posts

https://i.imgur.com/zJZMrc5.png

https://www.altpress.com

Post count: 35449

Hi,

You can check/try the solution provide by an user in this topic -> https://forum.tagdiv.com/topic/issue-with-9-7-update-changes-single_template_-in-child-theme/ or you can get the Newspaper v9.6.1 from here -> https://forum.tagdiv.com/topic/important-new-update-newspaper-9-7/

Thank you!

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