Skip to content

Instantly share code, notes, and snippets.

@asadkn
asadkn / wp-instagram-widget.php
Created February 12, 2019 19:47
Flood prevention and persistent storage for data of WP Instagram Widget.
<?php
/*
Plugin Name: WP Instagram Widget
Plugin URI: https://github.com/scottsweb/wp-instagram-widget
Description: A WordPress widget for showing your latest Instagram photos.
Version: 2.0.3
Author: Scott Evans
Author URI: https://scott.ee
Text Domain: wp-instagram-widget
Domain Path: /assets/languages/
/**
* How to:
* $('div.container').imagesLoaded(function(){console.log('all images loaded in .container');});
* In case you need to support IE8, you need to use HTML5shiv **and** need to modify jQuery the following way:
* https://github.com/jquery/jquery/commit/a9533893b9e5e9a248139f5794c5d6099382cf14
*/
(function($){
'use strict';
$.fn.imagesLoaded = (function(){
var imageLoaded = function (img, cb, delay){

(c) April Arcus 2015

SANS SERIFS

Many important sans serifs can be organized on a single axis from geometric to humanist.

Radically Geometric

<?php
require_once dirname( __FILE__ ) . '/makepot.php';
if ( !defined( 'STDERR' ) ) {
define( 'STDERR', fopen( 'php://stderr', 'w' ) );
}
/**
* Extend to add text domain check