cat_ID] = $category->cat_name;
}
// Pull all tags into an array
$options_tags = array();
$options_tags_obj = get_tags();
foreach ( $options_tags_obj as $tag ) {
$options_tags[$tag->term_id] = $tag->name;
}
// Pull all the pages into an array
$options_pages = array();
$options_pages_obj = get_pages('sort_column=post_parent,menu_order');
$options_pages[''] = 'Select a page:';
foreach ($options_pages_obj as $page) {
$options_pages[$page->ID] = $page->post_title;
}
// If using image radio buttons, define a directory path
$imagepath = get_template_directory_uri() . '/images/';
$options = array();
$options[] = array(
"name" => "Home",
"type" => "heading"
);
$options[] = array(
"name" => __("Home Page Slideshow", "breann"),
"desc" => __("Show Home Page Slideshow?", "breann"),
"id" => "show_home_slideshow",
"type" => "checkbox"
);
$options[] = array(
"name" => __("Cyclone Slider 2 Shortcode", "breann"),
"desc" => __('Example: [cycloneslider id="my-slider-id"]. You will find this code within the Cyclone Slider Settings (after you create your first slideshow).', 'breann'),
"id" => "cyclone_shortcode",
"class" => "hidden",
"type" => "text"
);
$options[] = array(
"name" => __("New Home Title", "breann"),
"desc" => __("Custom 'Home' Page Title?", "breann"),
"id" => "new_home_title",
"type" => "checkbox"
);
$options[] = array(
"name" => __("Home Page Title", "breann"),
"desc" => __("If your home page is static (Settings > Reading > Front Page Display), you have the option to show a title other than 'Home' - Home Page only", "breann"),
"id" => "show_home_title",
"class" => "hidden",
"type" => "text"
);
$options[] = array(
"name" => __("Quote/Slogan", "breann"),
"desc" => __("Show Quote/Slogan on Home Page?", "breann"),
"id" => "show_home_quote",
"type" => "checkbox"
);
$options[] = array(
"name" => __("Text for Home Page Quote/Slogan", "breann"),
"desc" => __("Home page quote or slogan here", "breann"),
"id" => "home_page_quote",
"class" => "hidden",
"type" => "text"
);
/* ----- LOGO & COLOR SECTION SETTINGS ----- */
$options[] = array(
"name" => "Logo",
"type" => "heading"
);
$options[] = array(
"name" => __("Show Logo as Image?", "breann"),
"desc" => __("Show Custom Logo?", "breann"),
"id" => "show_logo_image",
"type" => "checkbox"
);
$options[] = array( "name" => __("Logo","breann"),
"desc" => __("Upload your logo - Dimensions: 270 x 90 (pixels)", "breann"),
"id" => "logo_uploader",
"class" => "hidden",
"type" => "upload"
);
$options[] = array(
"name" => __("Logo Text", "breann"),
"desc" => __("Change logo text here. Nothing added here results in default Site Title found here: Settings > General", "breann"),
"id" => "logo_text",
"type" => "text"
);
/*
$options[] = array( "name" => __("Logo Background Color","breann"),
"desc" => __("Change the logo background color if using text.", "breann"),
"id" => "logo_background",
"std" => "#FFFFFF",
"type" => "color"
);
*/
$options[] = array( "name" => __("Logo Text Color","breann"),
"desc" => __("Change the logo text color.", "breann"),
"id" => "logo_text_color",
"std" => "#1B1B1B",
"type" => "color"
);
/* ----- SOCIAL MEDIA SECTION SETTINGS ----- */
$options[] = array(
"name" => "Social",
"type" => "heading"
);
$options[] = array(
"name" => __("Show Social Media Icons in Sidebar?", "breann"),
"desc" => __("Show Social Media Icons in Sidebar?", "breann"),
"id" => "show_social_media",
"type" => "checkbox"
);
$options[] = array( "name" => "Social Media Title",
"desc" => "Default text is 'Follow Us'. Add something here to change that!",
"id" => "show_follow_title",
"class" => "hidden",
"type" => "text"
);
$options[] = array( "name" => __("Facebook URL","breann"),
"desc" => __("Paste your Facebook profile URL here.", "breann"),
"id" => "show_facebook_url",
"type" => "text",
"class" => "hidden"
);
$options[] = array( "name" => __("Twitter URL","breann"),
"desc" => __("Paste your Twitter profile URL here.", "breann"),
"id" => "show_twitter_url",
"type" => "text",
"class" => "hidden"
);
$options[] = array( "name" => __("Google+ URL","breann"),
"desc" => __("Paste your Google+ profile URL here.", "breann"),
"id" => "show_googleplus_url",
"type" => "text",
"class" => "hidden"
);
$options[] = array( "name" => __("YouTube URL","breann"),
"desc" => __("Paste your YouTube channel URL here.", "breann"),
"id" => "show_youtube_url",
"type" => "text",
"class" => "hidden"
);
/* ----- MISCELLANEOUS SETTINGS ----- */
$options[] = array(
"name" => "Misc",
"type" => "heading"
);
$options[] = array(
"name" => __("Google Analytics", "breann"),
"desc" => __("Show Analytics?", "breann"),
"id" => "show_analytics_code",
"type" => "checkbox"
);
$options[] = array( "name" => "Add Google Analytics ID",
"desc" => "Example: UA-12345678-1",
"id" => "show_analytics",
"class" => "hidden mini",
"type" => "text"
);
$options[] = array(
"name" => __("Show Post Meta Data?", "breann"),
"desc" => __("Checked = hide meta data", "breann"),
"id" => "show_hide_post_meta",
"type" => "checkbox"
);
$options[] = array(
"name" => "Help!",
"type" => "heading"
);
$options[] = array(
"name" => "Donations",
"desc" => "If you have enjoyed this theme and would like to support the build of future Wordpress themes, please donate to a great cause. All donations are appreciated! Thank you!",
"type" => "info"
);
$options[] = array( "name" => "Recommended Options/Settings",
"desc" => "Slideshow dimensions = 1200 x 400 (pixels). At least make the width 1200 pixels in the Cyclone Slider 2 Settings.",
"type" => "info"
);
$options[] = array( "name" => "Hosting Your Website",
"desc" => "Need quality website hosting? Sign up for a HostGator account; they're affordable and reliable. Use coupon code breanntheme25 for 25% OFF or use coupon code breanntheme994 for $9.94 OFF your order.",
"type" => "info"
);
$options[] = array( "name" => "Have Questions About This Theme?",
"desc" => "If have questions about this theme or you've run into issues, please visit http://mikejohnsondesign.com/support/",
"type" => "info"
);
return $options;
}