Kailey Lampert trepmal

View keybase.md

Keybase proof

I hereby claim:

  • I am trepmal on github.
  • I am trepmal (https://keybase.io/trepmal) on keybase.
  • I have a public key whose fingerprint is 1B8A 38B8 E00E 1760 2FD2 3C38 6992 928D 1F27 C8F7

To claim this, I am signing this object:

View gist:11011808
1 2 3 4 5 6 7 8 9 10
<?php
 
// script on registration page only
// limited testing
 
// can go in path/to/wp/wp-content/mu-plugins/
 
add_action( 'login_enqueue_scripts', function() {
 
if ( isset( $_REQUEST['action'] ) && 'register' == $_REQUEST['action'] ) {
View permalink-col.php
1 2 3 4 5 6 7 8 9
View localize-test.php
1 2 3 4 5 6 7 8 9 10
<?php
 
// This is probably a bad idea.
 
class LocalizeTest {
 
function __construct( $instance ) {
$this->instance = $instance;
add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_scripts' ) );
}
View gist:9691061
1 2 3 4 5 6 7 8 9 10
<?php
/*
* Plugin Name: Linkless Menu Items
* Plugin URI:
* Description:
* Version:
* Author: Kailey Lampert
* Author URI:
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
View gist_shortcode_wp.php
1 2 3 4 5 6 7 8 9
<?php
 
/* Adds a shortcode for displaying GitHub Gists */
function create_github_gist($atts) {
extract(shortcode_atts(array(
'source' => "https://gist.github.com/SufferMyJoy/9397075",
), $atts));
return '<script src="' . esc_attr( $source ) . '.js"></script>';
}
View redirect-favicon-request.php
1 2 3 4 5 6 7 8 9
<?php
 
add_action( 'wp_head', function() {
?><link rel="shortcut icon" href="<?php echo site_url( 'favicon.ico' ); ?>" /><?php
});
 
 
$redirect_favicon = new Redirect_Favicon();
class Redirect_Favicon {
View category-home-page.php
1 2 3 4 5 6 7 8 9 10
<?php
/*
* Plugin Name: Category Home Page
* Plugin URI: trepmal.com
* Description:
* Version:
* Author: Kailey Lampert
* Author URI: kaileylampert.com
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
View my-sites-search.php
1 2 3 4 5 6 7 8 9 10
<?php
/*
* Plugin Name: My Sites Search
* Plugin URI: trepmal.com
* Description: https://twitter.com/trepmal/status/443189183478132736
* Version:
* Author: Kailey Lampert
* Author URI: kaileylampert.com
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
View remove-feed-rewrite.php
1 2 3 4 5 6
<?php
add_action('init', 'remove_feed_from_rewrite');
function remove_feed_from_rewrite() {
global $wp_rewrite;
$wp_rewrite->feeds = array( 'rdf', 'rss', 'rss2', 'atom' );
}
Something went wrong with that request. Please try again.