Skip to content

Instantly share code, notes, and snippets.

<?php
/*
* Plugin Name: Hacky Taxonomy Archives
* Description: Don't use this on a live site, plz. Proof of concept for Aaron Holbrook.
* Author: Andrew Nacin
*/
add_action( 'template_redirect', function() {
global $wp_rewrite;
$taxonomy = 'fruits';
<?php
class CWS_Jetpack_Modules {
function __construct() {
add_filter( 'option_jetpack_active_modules', array( $this, 'active_modules' ) );
}
function active_modules( $modules ) {
$allowed_modules = array(
'enhanced-distribution',
@zedejose
zedejose / fadein.css
Created July 25, 2017 22:22 — forked from hugobaeta/fadein.css
Page loading fade-in
@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Each element you want to fade in in sequence should have a incremental delay in the animation - more here: https://developer.mozilla.org/en-US/docs/Web/CSS/animation */