Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created October 30, 2011 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save billerickson/1325555 to your computer and use it in GitHub Desktop.
Save billerickson/1325555 to your computer and use it in GitHub Desktop.
Create Archive Layout
<?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'
) );
}
add_action( 'init', 'be_create_archive_layout' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment