I always struggle with hacks for Edge and IE. See also for other tips: http://browserhacks.com/
_selector {...}
// Adds [branch id="" noscript="branch-url"] shortcode in WordPress | |
if ( ! function_exists( 'branch_embedded' ) ) { | |
function branch_embedded( $atts ) { | |
$atts = shortcode_atts( array( 'id' => '', noscript=> '' ), $atts ); | |
$output = '<script type="text/javascript" src="http://embed-script.branch.com/assets/embed/embed.m.js?body=0" data-branch-embedid="' . esc_attr( $atts['id'] ) . '" ></script>'; |
I always struggle with hacks for Edge and IE. See also for other tips: http://browserhacks.com/
_selector {...}