Use wp_remote_get instead of cURL

and add wp_footer
Updated screenshot