<?php

function bard_options( $control ) {

	$bard_defaults = array(
		'colors_content_accent' => '#00a9ff',
		'colors_header_text_hover' => '#111111',
		'colors_content_bg' => '#ffffff',
		'colors_header_bg' => '#ffffff',
		'general_sidebar_width' => '270',
		'general_sidebar_sticky' => true,
		'general_home_layout' => 'col2-rsidebar',
		'general_header_width' => 'contained',
		'general_slider_width' => 'boxed',
		'general_links_width' => 'boxed',
		'general_content_width' => 'boxed',
		'general_single_width' => 'boxed',
		'general_footer_width' => 'contained',
		'general_instagram_style' => 'theme',
		'top_bar_label' => false,
		'header_image_label' => true,
		'header_image_bg_image_size' => 'cover',
		'header_image_parallax' => false,
		'title_tagline_logo_width' => '500',
		'title_tagline_seo_title' => false,
		'title_tagline_show_socials' => true,
		'main_nav_label' => true,
		'main_nav_align' => 'center',
		'main_nav_show_random_btn' => true,
		'main_nav_show_search' => true,
		'main_nav_show_sidebar' => true,
		'main_nav_merge_menu' => false,
		'featured_slider_label' => true,
		'featured_slider_display' => 'all',
		'featured_slider_category' => 'null',
		'featured_slider_amount' => '3',
		'featured_slider_navigation' => 'on',
		'featured_slider_exc_images' => false,
		'featured_slider_pagination' => true,
		'featured_links_label' => false,
		'featured_links_title_1' => '',
		'featured_links_url_1' => '',
		'featured_links_image_1' => '',
		'featured_links_title_2' => '',
		'featured_links_url_2' => '',
		'featured_links_image_2' => '',
		'featured_links_title_3' => '',
		'featured_links_url_3' => '',
		'featured_links_image_3' => '',
		'blog_page_full_width_post' => true,
		'blog_page_post_description' => 'excerpt',
		'blog_page_post_pagination' => 'default',
		'blog_page_show_categories' => true,
		'blog_page_show_date' => true,
		'blog_page_show_comments' => false,
		'blog_page_show_dropcaps' => false,
		'blog_page_show_author' => true,
		'blog_page_related_orderby' => 'none',
		'single_page_show_featured_image' => true,
		'single_page_show_categories' => true,
		'single_page_show_date' => true,
		'single_page_show_author' => true,
		'single_page_show_dropcaps' => true,
		'single_page_show_comments' => true,
		'single_page_show_author_desc' => true,
		'single_page_related_orderby' => 'random',
		'social_media_window' => true,
		'social_media_icon_1' => 'facebook-f',
		'social_media_url_1' => '',
		'social_media_title_1' => '',
		'social_media_icon_2' => 'twitter',
		'social_media_url_2' => '',
		'social_media_title_2' => '',
		'social_media_icon_3' => 'instagram',
		'social_media_url_3' => '',
		'social_media_title_3' => '',
		'social_media_icon_4' => 'pinterest',
		'social_media_url_4' => '',
		'social_media_title_4' => '',
		'typography_logo_family' => 'Arizonia',
		'typography_nav_family' => 'Open+Sans',
		'typography_nav_italic' => false,
		'typography_nav_uppercase' => true,
		'page_footer_show_socials' => false,
		'page_footer_logo' => '',
		'page_footer_copyright' => '',
		'page_footer_show_scrolltop' => true,
		'preloader_label' => false,
		'responsive_featured_slider' => true,
		'responsive_featured_links' => false,
		'responsive_related_posts' => false
	);

	// merge defaults and options
	$bard_defaults = wp_parse_args( get_option('bard_options'), $bard_defaults );

	// return control
	return $bard_defaults[ $control ];

}