Custom code (ads) not showing up after updating theme

Posted in: Newspaper
Post count: 135

Hi guys, for the first time, my custom ad code is not displaying after installing from 9.6.1 to 9.7.2.

Here on 9.6.1, you can see the three custom ads below the nav bar: coronadotimes.com

Here on 9.7.2, the ads are NOT showing up under the nav bar: coronadotimes.com/development

So, I know that something with the custom code broke, but I’m not sure where to fix it. I looked in both of the above URLs in the “custom ad 1” area and they both have the same code:

<div class="td-all-devices SP_Below_Header_As_Rotate">

</div>

So, any thoughts?

Post count: 135

If you hover over the nav to get the mega-menu, you will see that the coronadotimes.com site has a banner ad in the dropdown, but the coronadotimes.com/development does not show the ad. Probably the same issue. We are using a child-theme and maybe that is an issue. Here is where the code is: Custom ad code

  • This reply was modified 7 years by sejpost.
Post count: 135

One more issue that is probably related. If you hover over for mega-menu, the stories load just fine on the main drop down link and if you hover over the sub-links. However on the “development” site, when you hover over the sub-links in the mega-menu, you get a spinning circle that never loads:

spinning circle no loading

Post count: 22421

Hello,

If you implemented your modification through the child theme, then please note it will no longer work as mentioned here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/.
Please use the header builder instead: https://tagdiv.com/newspaper-theme-customize-the-header-manager/

Thank you!

Post count: 135

Thanks Bogdan for pointing that out. A few follow up questions regarding this on my test site: http://coronadotimes.com/development/

1. I used the header builder and I can’t figure out how to get all three boxes under the navigation to appear on the same line. The yellow one wraps and I need it to be on the same line. Any help?

2. When I’m logged out of my development site, all the arrows in the navigation and the social media icons and search box icon are missing their images. However, when I’m logged in, I see all the broken images – why are they not showing up when I’m logged out of development?

3. Once I get all three below nav ads to appear on the same line, how do I get it to show that header ad across all pages? I modified the “Global Header” but the ads only appear on the home page.

4. Once I get this working, can I delete my child them so that it’s no longer attached to my site?

Thanks.

Post count: 135

I think I figured out my #2 question. The icons disappear if I don’t use https:// I just need to fix that in the domain to push users to https:// and it should work.

Post count: 35449

Hi,

1. Make sure that you have set the row in 3 columns -> https://www.screencast.com/t/gLPmg22AFx after that make sure that your ads do not have a bigger width that you have set on empty columns, you can change the row width from here -> https://www.screencast.com/t/ZLqLoLfD and the width of column from here -> https://www.screencast.com/t/l1Vh4Ukk8Q

3. Using the header manager you can import and edit header templates, those can be set individual on each page/template or global in theme panel -> https://www.screencast.com/t/yoADaa4b6

4. In Newspaper v9.7 the child theme will work only for function.php and style.css, so you can delete the child theme without problems.

Thank you!

Post count: 135

Thanks. How long do I have before I have to leave using my child theme? What if I don’t update from V 9.6.1? I want to move over the new theme, but I have a lot of things to fix if I disable the current child theme.

So, how long can I keep using my child theme? Thanks!

Post count: 35449

Hi,

You can use the Newspaper v9.6 as long you want, unfortunately from Newspaper v9.7 the child theme support only the style.css file and functions.php, I do not know for future if this will be completely removed from theme or will be fix.

Thank you for your understanding!

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