/* Template Name: Portfolio */ /** Force the full width layout layout on the Portfolio page */ add_filter( 'genesis_pre_get_option_site_layout', 'cre8tive_portfolio_layout' ); function cre8tive_portfolio_layout( $opt ) { return 'full-width-content'; } /** Remove the standard loop */ remove_action( 'genesis_loop', 'genesis_do_loop' ); /** Add the Portfolio widget area */ add_action( 'genesis_loop', 'cre8tive_porfolio_widget' ); function cre8tive_porfolio_widget() { dynamic_sidebar( 'portfolio' ); } genesis();