Created
June 15, 2017 04:17
-
-
Save mariadanieldeepak/d6ed08edb9cfe0ca7fceef15b4448f16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add the following snippet to your functions.php file. | |
function my_google_adsense() { | |
wp_enqueue_script( 'my-google-adsense-js', '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js', array(), false, false ); | |
} | |
add_action( 'wp_enqueue_scripts', 'my_google_adsense' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment