Skip to content

Instantly share code, notes, and snippets.

View miklb's full-sized avatar
🎣
Gone Fishing

Michael Bishop miklb

🎣
Gone Fishing
View GitHub Profile
@miklb
miklb / functions.php
Created April 1, 2018 23:43 — forked from gRegorLove/functions.php
WordPress filter to approve webmentions from previously-approved domains
<?php
if ( !function_exists('indieweb_check_webmention') ) {
/**
* Using the webmention_source_url, approve webmentions that have been received from previously-
* approved domains. For example, once you approve a webmention from http://example.com/post,
* future webmentions from http://example.com will be automatically approved.
* Recommend placing in your theme's functions.php
*
@miklb
miklb / dabblet.css
Created March 17, 2013 09:41 — forked from michaeltwofish/dabblet.css
tiger in the snow (HTML5)
/**
* tiger in the snow (HTML5)
*/
figure {
min-width: 178px;
/** outline: solid 1px red; /* uncomment rule to see figure outline */
position: relative;
}
img:hover {
@miklb
miklb / dabblet.css
Created May 18, 2012 18:36 — forked from anonymous/dabblet.css
Proof of Concept for "fancy" call to action
/**
* Proof of Concept for "fancy" call to action
*/
body {background: #fff;}
@-webkit-keyframes rotate {
0% { -webkit-transform: rotate(0deg) }
100% { -webkit-transform: rotate(360deg) }}
@miklb
miklb / gist:2252101
Created March 30, 2012 14:57 — forked from luetkemj/wp-query-ref.php
WP: Query $args
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/
$args = array(