adsence in right header

hi @Movin,

i trying place my adsence banner in right place in header … i dont need social icons so i try replace that with child theme function.

function travelify_socialnetworks( $flag ) {

    echo '<div class="social-icons clearfix">

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- header -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-2466919541019460"
     data-ad-slot="3331559450"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

			</div><!-- .social-icons -->';

}

in my source code is all okay but it’s still didn’t displaying my banner …
have u please some ideas how i can do this ? :slight_smile:

Regards,
fisherko

Hi fisherko,

I hope you are well today and thank you for your question.

The above code that you have added in child theme functions.php file seems correct but the adsense code doesn’t seem correct.

Could you please make sure that you are using the correct adsence code and it’s working fine on normal page or using the following plugin?

Best Regards,
Movin