Define Genesis default options

// Define Genesis Options
add_filter('genesis_options', 'define_genesis_setting_custom', 10, 2);
function define_genesis_setting_custom($options, $setting) {
	if($setting == GENESIS_SETTINGS_FIELD) {
		$options['update'] = 1;
		$options['blog_title'] = 'text';
		$options['header_right'] = 0;
		$options['site_layout'] = 'content-sidebar';
		$options['nav'] = 1;
		$options['nav_superfish'] = 1;
		$options['nav_home'] = 1;
		$options['nav_type'] = 'pages';
		$options['nav_pages_sort'] = 'menu_order';
		$options['nav_categories_sort'] = 'name';
		$options['nav_depth'] = 0;
		$options['nav_extras_enable'] = 0;
		$options['nav_extras'] = 'date';
		$options['nav_extras_twitter_id'] = '';
		$options['nav_extras_twitter_text'] = 'Follow me on Twitter';
		$options['subnav'] = 0;
		$options['subnav_superfish'] = 1;
		$options['subnav_home'] = 0;
		$options['subnav_type'] = 'categories';
		$options['subnav_pages_sort'] = 'menu_order';
		$options['subnav_categories_sort'] = 'name';
		$options['subnav_depth'] = 0;
		$options['feed_uri'] = '';
		$options['comments_feed_uri'] = '';
		$options['redirect_feeds'] = 0;
		$options['comments_pages'] = 0;
		$options['comments_posts'] = 1;
		$options['trackbacks_pages'] = 0;
		$options['trackbacks_posts'] = 1;
		$options['author_box_single'] = 1;
		$options['breadcrumb_home'] = 1;
		$options['breadcrumb_single'] = 1;
		$options['breadcrumb_page'] = 1;
		$options['breadcrumb_archive'] = 1;
		$options['breadcrumb_404'] = 1;
		$options['content_archive'] = 'full';
		$options['content_archive_thumbnail'] = 0;
		$options['posts_nav'] = 'older-newer';
		$options['blog_cat'] = '';
		$options['blog_cat_exclude'] = '';
		$options['blog_cat_num'] = 10;
		$options['header_scripts'] = '';
		$options['footer_scripts'] = '';
		$options['theme_version'] = PARENT_THEME_VERSION;
		}
	return $options;
}

Available Options:

['update']  
     1 = Enable Automatic Updates, 
     0 = Off
['blog_title'] 
     text = Dynamic Text,  
     image = Image Logo
['header_right'] 
     1 = Widgetize Right Side of Header, 
     0 = no
['site_layout'] 
     content-sidebar,
     sidebar-content,
     content-sidebar-sidebar,
     sidebar-sidebar-content,
     sidebar-content-sidebar, 
     full-width-content
['nav'] 
     1 = Include Primary Navigation Menu,
     0 = No
['nav_superfish'] 
     1 = Enable Fancy Dropdowns,
     0 = Disable
['nav_home'] 
     1 = Display Home Link,
     0 = no
['nav_type'] 
     pages = List of Pages, 
     categories = List of Categories, 
     nav-menu = Custom Nav Menu
['nav_pages_sort'] 
     menu_order = Menu Order, 
     post_title = Title, 
     ID = ID, 
     post_date = Date Created,
     post_modified = Date Modified,
     post_author = Author, 
     post_name = Slug
['nav_categories_sort']
     menu_order = Menu Order, 
     post_title = Title, 
     ID = ID, 
     post_date = Date Created,
     post_modified = Date Modified,
     post_author = Author, 
     post_name = Slug
['nav_depth'] 
     0 = No Limit,
     1
     2
     3
     4
['nav_extras_enable'] 
     0 = Disabled,
     1 = Enable Extras on Right Side
['nav_extras'] 
     date,
     rss,
     search,
     twitter
['nav_extras_twitter_id'] = '',
['nav_extras_twitter_text'] = 'Follow me on Twitter',
['subnav']
     1 = Include Primary Navigation Menu,
     0 = No
['subnav_superfish']
     1 = Enable Fancy Dropdowns,
     0 = Disable
['subnav_home']
     1 = Display Home Link,
     0 = no
['subnav_type']
     pages = List of Pages, 
     categories = List of Categories, 
     nav-menu = Custom Nav Menu
['subnav_pages_sort']
     menu_order = Menu Order, 
     post_title = Title, 
     ID = ID, 
     post_date = Date Created,
     post_modified = Date Modified,
     post_author = Author, 
     post_name = Slug
['subnav_categories_sort']
     menu_order = Menu Order, 
     post_title = Title, 
     ID = ID, 
     post_date = Date Created,
     post_modified = Date Modified,
     post_author = Author, 
     post_name = Slug
['subnav_depth']
     0 = No Limit,
     1
     2
     3
     4
['feed_uri'] = '',
['comments_feed_uri'] = '',
['redirect_feeds']
     0 = Disable,
     1 = Enable
['comments_pages']
     0 = Disable,
     1 = Enable
['comments_posts']
     0 = Disable,
     1 = Enable
['trackbacks_pages']
     0 = Disable,
     1 = Enable
['trackbacks_posts']
     0 = Disable,
     1 = Enable
['author_box_single']
     0 = Disable,
     1 = Enable
['breadcrumb_home']
     0 = Disable,
     1 = Enable
['breadcrumb_single']
     0 = Disable,
     1 = Enable
['breadcrumb_page']
     0 = Disable,
     1 = Enable
['breadcrumb_archive']
     0 = Disable,
     1 = Enable
['breadcrumb_404']
     0 = Disable,
     1 = Enable
['content_archive']
     full = Display post content,
     excerpts = Display post excerpts
['content_archive_thumbnail']
     0 = Disable,
     1 = Enable
['posts_nav']
     older-newer,
     prev-next
     numeric
['blog_cat'] = '',
['blog_cat_exclude'] = '',
['blog_cat_num'] = 10,
['header_scripts'] = '',
['footer_scripts'] = '',
['theme_version'] = PARENT_THEME_VERSION

Leave a Comment