I can't figure out why this script wont load on site. Am I missing something?
function ajax_follow_enqueue_scripts() {
wp_register_script('follow', plugins_url('the-follow.js', __FILE__));
wp_enqueue_script('follow');
wp_localize_script( 'the_follow', 'postfollow', array('ajax_url' => admin_url( 'admin-ajax.php' )));
}
add_action( 'wp_enqueue_scripts', 'ajax_follow_enqueue_scripts' );

