"; } add_action( 'wp_footer', 'add_hellobar_script'); function add_content_upgrade_script( $atts ) { $id = $atts['id']; echo "

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