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 {...}
View improved-sr-only.markdown

Improved .sr-only

Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.

A Pen by ffoodd on CodePen.

License.

@jmau111
jmau111 / checking-php-wp.php
Last active Aug 29, 2015
Check if current WP installation runs on server with minimum PHP 5.4
View checking-php-wp.php
<?php
add_action('admin_notices', '_check_php_version_notif', 0);
/**
* Check if current PHP version is newer than 5.4
* @link https://gist.github.com/TweetPressFr/0cb0ef6330f054f55839
* @author Julien Maury
*/
function _check_php_version_notif(){
global $pagenow;
You can’t perform that action at this time.