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

            //banner section
            'facebook' => '',
            'twitter' => '',
            'site_title_show' => '1',
            'spotify_button_url' => '',
            'itunes_button_url' => '',
            'pocketcasts_button_url' => '',
            'banner_title' => '',
            'banner_desc' => '',
            'single_button_url' => '',
            'single_button' => '',
            'banner_bg_image' => '',




            'episode_section_show' => 1,
            'episode_title' => '',
            'episode_desc' => '',

            
            'about_show' => 0,
            'about_title' => '',
            'about_desc' => '',
            'video_url' => '',
            'video_bg_image' => '',
            'video_button_txt' => '',
            'video_button_url' => '',


            'blog_show' => 0,
            'blog_title' => '',
            'blog_desc' => '',
            'blog_category' => '',
            'show_prefooter' => 1,
            'copyright_text' => '',

        );

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

        //Parse defaults again - see comments
        $options = wp_parse_args($options, $defaults);

        return $options;
    }
endif;
