How to edit header-style-10.php after update?

Posted in: Newspaper
Post count: 21

Hi,
After the update to Newspaper 9.7 I’ve struggled with adding my disclosure bar, showing which posts are sponsored.

Before, I had this code added in header-style-10.php and in all single templates:

<!-- Adaras Disclaimer -->
<?php adb_manual_output_fixed_content(); ?>

Now I can’t seem to get it to work. I’ve tried adding it to header.php and to single.php but it makes no difference.

Can you please help me with this issue?

Post count: 35449

Hi,

Most of the theme files were moved into the tagdiv composer plugin as per the requirements of envato: https://help.author.envato.com/hc/en-us/articles/360000472383-WordPress-Theme-Requirements.
We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/

If you want to edit the header-style-10.php you need to go in wp-content/plugins/td-composer/legacy/Newspaper/parts/header/header-style-10.php and the singles can be found in wp-content/plugins/td-composer/legacy/Newspaper/parts/single/loop-single-1.php

Hope this will help you!
Thanks.

Post count: 21

Hi Calin,
Thank you so much for your quick reply! I actually succeeded in adding my custom code by dragging a ‘Safe PHP Code’ widget to a cloud template header. But adding the code directly to header-style-10.php worked so much better for speed and performance – so thanks!

Best wishes,
Ida

  • This reply was modified 7 years by Adaras.
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.