Skip to content

Instantly share code, notes, and snippets.

View BeardedGinger's full-sized avatar

Josh Mallard BeardedGinger

View GitHub Profile
BeardedGinger / Include Exodus Framework
Last active December 22, 2015 05:39
Include the Exodus Framework within your Genesis child theme
View Include Exodus Framework
//* Include Exodus Framework
include_once( get_stylesheet_directory() . '/exodus-framework/init.php' );
BeardedGinger / Exodus Mobile Navigation
Last active December 22, 2015 05:58
Add support for the mobile navigation available as part of the Exodus Framework
View Exodus Mobile Navigation
//* Add supoort for Mobile Navigation (default activation at 480px)
add_theme_support( 'mobile-nav' );
BeardedGinger / Mobile Navigation Arguments
Last active December 22, 2015 05:58
Arguments for Exodus Framework Mobile Navigation
View Mobile Navigation Arguments
//* Add Mobile Navigation which activates on iPad Landscape
add_theme_support( 'mobile-nav', '1024' );
BeardedGinger / Exodus Icon Fonts
Created September 3, 2013 19:54
Add Icon Fonts to your Genesis child theme using Exodus Framework
View Exodus Icon Fonts
//* Add support for icon fonts (defaults to entypo)
add_theme_support( 'icon-font' );
BeardedGinger / Font Awesome icon font
Created September 3, 2013 20:02
Add Font Awesome font icon using Exodus Framework
View Font Awesome icon font
//* Add Font Awesome icon font
add_theme_support ( 'icon-font', 'fontawesome' );
BeardedGinger / Scroll Header
Created September 3, 2013 20:28
Add a Scroll Header to Genesis child theme using Exodus Framework
View Scroll Header
//* Add support for Scroll Header
add_theme_support( 'scroll-header' );
BeardedGinger / Upcoming events shortcode
Last active December 23, 2015 06:39
Modern Tribe's Events Calendar Upcoming Events Shortcode
View Upcoming events shortcode
add_shortcode( 'upcoming_events', 'upcoming_events_shortcode' );
* Upcoming Events Shortcode
function upcoming_events_shortcode() {
$args = array(
'post_type' => 'tribe_events',
'posts_per_page' => 3
BeardedGinger / WooCommerce with Genesis
Created September 23, 2013 20:08
WooCommerce Function for the Genesis Framework
View WooCommerce with Genesis
function woocommerce_setup_genesis() {
BeardedGinger / WooCommerce Template
Created September 23, 2013 20:12
WooCommerce Template page for Genesis Child Theme
View WooCommerce Template
* WooCommerce Template
* Template used for all WooCommerce views for your site
//* Remove standard post content output
remove_action( 'genesis_loop', 'genesis_do_loop');
BeardedGinger / declare WooCommerce support
Created September 25, 2013 02:21
Declare WooCommerce support
View declare WooCommerce support
//* Declare WooCommerce Support
add_theme_support( 'woocommerce' );