<?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