View Include Exodus Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Include Exodus Framework | |
include_once( get_stylesheet_directory() . '/exodus-framework/init.php' ); |
View Exodus Icon Fonts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Add support for icon fonts (defaults to entypo) | |
add_theme_support( 'icon-font' ); |
View Font Awesome icon font
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Add Font Awesome icon font | |
add_theme_support ( 'icon-font', 'fontawesome' ); |
View Scroll Header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Add support for Scroll Header | |
add_theme_support( 'scroll-header' ); |
View Upcoming events shortcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_shortcode( 'upcoming_events', 'upcoming_events_shortcode' ); | |
/* | |
* Upcoming Events Shortcode | |
* | |
*/ | |
function upcoming_events_shortcode() { | |
$args = array( | |
'post_type' => 'tribe_events', | |
'posts_per_page' => 3 | |
); |
View WooCommerce with Genesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function woocommerce_setup_genesis() { | |
woocommerce_content(); | |
} |
View WooCommerce Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WooCommerce Template | |
* | |
* Template used for all WooCommerce views for your site | |
* | |
*/ | |
//* Remove standard post content output | |
remove_action( 'genesis_loop', 'genesis_do_loop'); |
View declare WooCommerce support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Declare WooCommerce Support | |
add_theme_support( 'woocommerce' ); |
OlderNewer