View hide-inactive-jetpack-modules.php
<?php | |
/* | |
Plugin Name: Hide Inactive Jetpack Modules | |
Plugin URI: https://gist.github.com/jeremyfelt/7062883 | |
Description: Hides Jetpack modules that are marked as inactive, providing for a shorter list. | |
Version: 0.1 | |
Author: Jeremy Felt | |
Author URI: http://jeremyfelt.com | |
License: GPL2 | |
*/ |
View customize-sharing.php
<?php | |
add_filter( 'sharing_show', 'rdall_sharing_show' ); | |
function rdall_sharing_show() { | |
if ( is_home() ) return true; | |
if ( is_archive() ) return false; | |
if ( is_search() ) return false; | |
return true; | |
} |
View destroy-blue-lines.css
.conversation-module > li:after, .conversation-module > li:before { | |
display: none; | |
} | |
ol.conversation-module li.conversation-root, | |
ol.conversation-module li.conversation-ancestor { | |
display: none; | |
} | |
li.js-has-navigable-stream.open ol.conversation-module li.conversation-root, |
View wp-query-ref.php
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.github.io | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
*/ |