Skip to content

Instantly share code, notes, and snippets.

@mwordpress
Created February 12, 2017 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwordpress/b300459bf382d09ceccebf1d1c0f75ad to your computer and use it in GitHub Desktop.
Save mwordpress/b300459bf382d09ceccebf1d1c0f75ad to your computer and use it in GitHub Desktop.
the codes listed here is part of the following article : https://www.mwordpress.net/how-to-put-adsense-into-post-in-wordpress/
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXXXXXXX"
data-ad-slot="XXXXXXXXXX"
data-ad-format="auto">
</ins>
<script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
.ads-s300x250{
outline:none;
float:right;
margin:0px 5px 0px 5px;
padding:3px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment