*/ function add_hellobar_script() { echo "https://my.hellobar.com/02b69837141eee21c5ea3b8dcf26dfde4a472e88.js"; } add_action( 'wp_footer', 'add_hellobar_script'); function add_content_upgrade_script( $atts ) { $id = $atts['id']; echo "

window.onload = function() {hellobar('contentUpgrades').show(${id});};

"; } add_shortcode('hellobar_content_upgrade', 'add_content_upgrade_script'); ?>