<?php
if (!function_exists('recipe_blogz_theme_options')) :
    function recipe_blogz_theme_options()
    {
        $defaults = array(

            'fb_url' => '',
            'youtube_url' => '',
            'insta_url' => '',
            'twitter_url' => '',
            'header_layout' => 'header1',
            'dark_header' => 0,
            'header_full_width' => 0,
            'transparent_header' => 0,
            

            'banner_blog_category' => '',
            
            //Banner section
            'banner_title' => '',
            'banner_sub_title' => '',
            'banner_image' => '',

            'about_sec_show' => 0,
            'about_sec_title' => '',
            'about_sec_description' => '',
            'about_btn_text' => '',
            'about_button_url' => '',

            //CTA section
            'video_sec_show' => 1,
            'video_sec_title' => '',
            'youtube_video1' => '',
            'youtube_video2' => '',

            //Blog section
            'mid_sec_show' => 1,
            'mid_sec_title' => '',
            'midblog_category' => '',

            //Blog section
            'bottomblog_sec_show' => 1,
            'bottomblog_sec_title' => '',
            'bottomblog_category' => '',

            'show_widgets' => 1,

            'sidebar_show' => 1,
        
        );

        $options = get_option('recipe_blogz_theme_options', $defaults);

        $options = wp_parse_args($options, $defaults);

        return $options;
    }
endif;
