Skip to content

Instantly share code, notes, and snippets.

Geoffrey Crofte geoffreycrofte

Block or report user

Report or block geoffreycrofte

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View IE CSS Hacks: IE6, 7, 8, 9, 10, 11, Edge.md

IE CSS Hacks: IE6, 7, 8, 9, 10, 11, and even Edge

I always struggle with hacks for Edge and IE. See also for other tips: http://browserhacks.com/

IE6 Only

_selector {...}
@geoffreycrofte
geoffreycrofte / functions.php
Last active Jul 6, 2016 — forked from stephanie-walter/gist:5014232
Add a Branch shortcode to WordPress
View functions.php
// 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>';
You can’t perform that action at this time.