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
.ez-widget-area { | |
margin: 40px 0; | |
} | |
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 | |
/* | |
Template Name: Portfolio | |
*/ | |
/** Force the full width layout on the Portfolio page */ | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
/** Remove the standard loop */ | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); |
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
genesis_register_sidebar( | |
array( | |
'id' => 'portfolio', | |
'name' => __( 'Portfolio', 'dynamik' ), | |
'description' => __( 'This is the portfolio page.', 'dynamik' ) | |
) | |
); |
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 | |
/** Force the full width layout on the Portfolio page */ | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
/** Remove the standard loop */ | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); | |
/** Add the Portfolio widget area */ | |
add_action( 'genesis_loop', 'balance_portfolio_widget' ); | |
function balance_portfolio_widget() { |
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
/* Fluid Header */ | |
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 ); | |
remove_action( 'genesis_header', 'genesis_do_header' ); | |
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 ); | |
add_action( 'genesis_before', 'genesis_header_markup_open' ); | |
add_action( 'genesis_before', 'genesis_do_header' ); | |
add_action( 'genesis_before', 'genesis_header_markup_close' ); | |
/* end Fluid Header */ |
NewerOlder