Sidebar content only shows on certain pages
-
Hello!
I’m having some problems with a Google AdSense ad in a sidebar on my page. Before you redirect me to Google’s support, please read my post first. I honestly believe this is a WordPress problem.
My problem is that I have an advertisement in the sidebar of my webpage, and this ad doesn’t show up on most pages.
Steps to reproduce:
– go to the homepage. The advertisement is visible in the sidebar, below the heading “Advertisements”
– go to a different page, like this. Scroll down to the ad – it doesn’t show up. There is nothing under the “ad” heading.
– the ad works on some pages, like this one or this one. It appears to me that it works on the shorter pages but doesn’t work on the longer pages.
– if you go to a page where the ad doesn’t work, like here, scroll to the bottom of the page and then refresh the page, the box where the ad should be in shows up but not the ad itself.Tested on Chrome, Edgium and Firefox. WordPress is fully updated. The theme I’m using (TwentyFifteen) isn’t fully updated; I’m at version 1.9. I won’t update because I’ve modified it directly (dirty, I know). Looking at the changelog for the newer versions of the theme I can’t see any bugfixes related to this anyway.
The ad is implemented as a sidebar “Custom HTML” widget with the text “Advertisements” as a the title of the widget and the HTML provided by Google AdSense as the content of the widget.
I’m grateful for any replies.
The page I need help with: [log in to see the link]
- The topic ‘Sidebar content only shows on certain pages’ is closed to new replies.