View functions.php
1 2
update_option('siteurl','http://example.com');
update_option('home','http://example.com');
View style.css
1 2 3
ul {
list-style-image: url(images/arrow.png);
}
View gist:9407379
1 2 3 4 5 6 7 8 9 10
<?php
/**
* Custom Loop for Archive Layout
* @author Bill Erickson
* @link http://www.billerickson.net/wordpress-genesis-custom-layout/
*/
function be_archive_layout_loop() {
$site_layout = genesis_site_layout();
if ( 'sidebar-content-archive' == $site_layout ) {
be_archive_loop();
View gist:9407377
1 2 3 4 5 6 7 8 9 10
<?php
/**
* Create Archive Layout
* @author Bill Erickson
* @link http://www.billerickson.net/wordpress-genesis-custom-layout/
*/
function be_create_archive_layout() {
genesis_register_layout( 'sidebar-content-archive', array(
'label' => __('Sidebar/Content Archive', 'genesis'),
'img' => get_bloginfo('stylesheet_directory') . '/images/layout-sidebar-content-archive.gif'
View functions.php
1 2 3 4 5 6 7 8 9 10
add_shortcode( 'post_date', 'genesis_post_date_shortcode' );
/**
* Produces the date of post publication.
*/
function genesis_post_date_shortcode( $atts ) {
$defaults = array(
'after' => '',
'before' => '',
View functions.php
1
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
View functions.php
1
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
View functions.php
1 2 3 4 5 6 7 8 9 10
/**
* Easier Option http://wpsites.net/best-plugins/benefits-of-integrating-customizing-woocommerce-with-genesis-themes/
*/
// Remove stock wrappers
remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10 );
remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10 );
// Add 2014 compatible wrappers
add_action( 'woocommerce_before_main_content', 'wc_twentyfourteen_wrapper', 10 );
add_action( 'woocommerce_after_main_content', 'wc_twentyfourteen_wrapper_close', 10 );
View functions.php
1
add_theme_support( 'genesis-connect-woocommerce' );
Something went wrong with that request. Please try again.