Skip to content

Instantly share code, notes, and snippets.

View stphnlee's full-sized avatar

Stephen Lee stphnlee

View GitHub Profile
@stphnlee
stphnlee / keybase.md
Created September 9, 2019 19:18
Keybase Github verification

Keybase proof

I hereby claim:

  • I am stphnlee on github.
  • I am stphnlee (https://keybase.io/stphnlee) on keybase.
  • I have a public key ASAPNsbLHZM0b-w-w1VpKXCZiE3o0quu-_8vyJKOrtyypgo

To claim this, I am signing this object:

@stphnlee
stphnlee / responsive-header
Last active January 4, 2016 10:28
How to create a mobile responsive header in Genesis with CSS
.header-image .site-header .wrap {
width: auto;
height: 100%;
background-size: 100% auto !important;
background-position:center;
}
@stphnlee
stphnlee / add_post_type_support.php
Created January 20, 2014 02:07
Genesis 2.0 has special archiving support for custom post types, but it has to be set in the custom post type's settings like this: 'supports' => array( 'genesis-cpt-archives-settings' ) If you're using a plugin such as WPMU's CustomPress, there may not be a setting in the plugin to add custom support values, but you can add them with the add_po…
<?php
// Add this to your functions.php file after the custom post type has been declared.
// Replace $post_type below with the post type system name of your custom post type
add_post_type_support( $post_type, 'genesis-cpt-archives-settings' );
?>