How to remove Adsense ads 2 and 3, leave only the 1st one working

  • kotfilon

    #8044

    Hi,

    Right now my site looks good on front page and post page, but archives/categories have some problem with Adsense. They show Adsense ads below first three posts, but I need to show only “adsense-ad-1”. I use it only on post pages (below content).

    The front page has only sidebar ads and one in the footer, but they are not connected with Graphene Adsense feature.

    How can I remove adsense-ad-2 and adsense-ad-3 completely? Using “display: none” only hides them, because the other ads in the sidebar do not show up.

    Thank you!

    Mod

    Kenneth John Odle

    #40179

    Go into Graphene options and disable adsense.

    kotfilon

    #40180

    I want to use the Graphene Adsense feature and I need help only to disable two of three of ads represented in the theme as “adsense-ad-2” and “adsense-ad-3”

    Admin

    Syahir Hakim

    #40181

    This topic might help point you in the right direction:

    https://forum.graphene-theme.com/graphene-support/an-adsense-qestion

    kotfilon

    #40182

    Thanks for that topic. I tried to make it work with the action hook, but I just don’t have knowledge to do that. I created functions.php for my child theme, but it just broke the whole site. I also couldn’t find any tutorial.

    EDIT:

    In fact I’ve found another solution – I used the “visibility” option in in widgets with adsense ads and set them to hide on all categories, so the three ads after the first three posts could stay (visitors usually scroll down in categories, so showing ads in the middle of the content seems to be a better idea). Thanks anyway.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.