Skip to content

Instantly share code, notes, and snippets.

View hatsumatsu's full-sized avatar
🛸

Martin Wecke hatsumatsu

🛸
View GitHub Profile
/**
* 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){
@hatsumatsu
hatsumatsu / README.md
Created February 5, 2021 08:18 — forked from a-barbieri/README.md
WP_GraphQL Relevanssi Plugin

WP_GraphQL Relevanssi Plugin

A plugin to enable Relevanssi research through WP_GraphQL.

Requirements

This plugin requires Relevanssi >= 4.6.0 and WP_GraphQL >= 0.8.0.

GraphQL query format