D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
stickain
/
www
/
itosu-ryu.us
/
registration
/
wp-content
/
themes
/
twentythirteen
/
Filename :
options.php
back
Copy
<?php /** * A unique identifier is defined to store the options in the database and reference them from the theme. * By default it uses the theme name, in lowercase and without spaces, but this can be changed if needed. * If the identifier changes, it'll appear as if the options have been reset. */ function optionsframework_option_name() { // This gets the theme name from the stylesheet $themename = wp_get_theme(); $themename = preg_replace("/\W/", "_", strtolower($themename) ); $optionsframework_settings = get_option( 'optionsframework' ); $optionsframework_settings['id'] = $themename; update_option( 'optionsframework', $optionsframework_settings ); } /** * Defines an array of options that will be used to generate the settings page and be saved in the database. * When creating the 'id' fields, make sure to use all lowercase and no spaces. * * If you are making your theme translatable, you should replace 'options_framework_theme' * with the actual text domain for your theme. Read more: * http://codex.wordpress.org/Function_Reference/load_theme_textdomain */ function optionsframework_options() { // Test data $test_array = array( 'one' => __('One', 'options_framework_theme'), 'two' => __('Two', 'options_framework_theme'), 'three' => __('Three', 'options_framework_theme'), 'four' => __('Four', 'options_framework_theme'), 'five' => __('Five', 'options_framework_theme') ); // Multicheck Array $multicheck_array = array( 'one' => __('French Toast', 'options_framework_theme'), 'two' => __('Pancake', 'options_framework_theme'), 'three' => __('Omelette', 'options_framework_theme'), 'four' => __('Crepe', 'options_framework_theme'), 'five' => __('Waffle', 'options_framework_theme') ); // Multicheck Defaults $multicheck_defaults = array( 'one' => '1', 'five' => '1' ); // Background Defaults $background_defaults = array( 'color' => '', 'image' => '', 'repeat' => 'repeat', 'position' => 'top center', 'attachment'=>'scroll' ); // Typography Defaults $typography_defaults = array( 'size' => '15px', 'face' => 'georgia', 'style' => 'bold', 'color' => '#bada55' ); // Typography Options $typography_options = array( 'sizes' => array( '6','12','14','16','20' ), 'faces' => array( 'Helvetica Neue' => 'Helvetica Neue','Arial' => 'Arial' ), 'styles' => array( 'normal' => 'Normal','bold' => 'Bold' ), 'color' => false ); // Pull all the categories into an array $options_categories = array(); $options_categories_obj = get_categories(); foreach ($options_categories_obj as $category) { $options_categories[$category->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(); // Tournament 1 $options[] = array( 'name' => __('Tournament 1', 'options_framework_theme'), 'type' => 'heading'); $options[] = array( 'name' => __('Tournament Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_tournament_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor1_event_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name of tournament director', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_director_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Location', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_location', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_address', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Phone number', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_phone', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('E-mail address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_email', 'std' => '',//Default Value 'type' => 'text'); //logo Text $options[] = array( 'name' => __('One Event', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor1_one_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Two Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor1_two_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Three Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor1_three_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Four Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor1_four_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price One', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor1_discount_one', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price Two', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor1_discount_two', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Last Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor1_event_end_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Paypal Business Account ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_paypal_acc', 'std' => '',//Default Value 'type' => 'text'); $wp_editor_settings = array( 'wpautop' => true, // Default 'textarea_rows' => 20, 'tinymce' => array( 'plugins' => 'wordpress' ) ); $options[] = array( 'name' => __('Terms and Conditions ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor1_terms', 'type' => 'editor', 'settings' => $wp_editor_settings ); // Tournament 2 $options[] = array( 'name' => __('Tournament 2', 'options_framework_theme'), 'type' => 'heading'); $options[] = array( 'name' => __('Tournament Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_tournament_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor2_event_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name of tournament director', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_director_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Location', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_location', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_address', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Phone number', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_phone', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('E-mail address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_email', 'std' => '',//Default Value 'type' => 'text'); //logo Text $options[] = array( 'name' => __('One Event', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor2_one_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Two Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor2_two_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Three Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor2_three_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Four Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor2_four_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price One', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor2_discount_one', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price Two', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor2_discount_two', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Last Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor2_event_end_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Paypal Business Account ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_paypal_acc', 'std' => '',//Default Value 'type' => 'text'); $wp_editor_settings_two = array( 'wpautop' => true, // Default 'textarea_rows' => 20, 'tinymce' => array( 'plugins' => 'wordpress' ) ); $options[] = array( 'name' => __('Terms and Conditions ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor2_terms', 'type' => 'editor', 'settings' => $wp_editor_settings_two ); // Tournament 3 $options[] = array( 'name' => __('Tournament 3', 'options_framework_theme'), 'type' => 'heading'); $options[] = array( 'name' => __('Tournament Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_tournament_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor3_event_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name of tournament director', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_director_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Location', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_location', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_address', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Phone number', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_phone', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('E-mail address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_email', 'std' => '',//Default Value 'type' => 'text'); //logo Text $options[] = array( 'name' => __('One Event', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor3_one_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Two Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor3_two_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Three Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor3_three_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Four Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor3_four_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price One', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor3_discount_one', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price Two', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor3_discount_two', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Last Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor3_event_end_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Paypal Business Account ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_paypal_acc', 'std' => '',//Default Value 'type' => 'text'); $wp_editor_settings_three = array( 'wpautop' => true, // Default 'textarea_rows' => 20, 'tinymce' => array( 'plugins' => 'wordpress' ) ); $options[] = array( 'name' => __('Terms and Conditions ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor3_terms', 'type' => 'editor', 'settings' => $wp_editor_settings_three ); // Tournament 4 $options[] = array( 'name' => __('Tournament 4', 'options_framework_theme'), 'type' => 'heading'); $options[] = array( 'name' => __('Tournament Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_tournament_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor4_event_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name of tournament director', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_director_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Location', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_location', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_address', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Phone number', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_phone', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('E-mail address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_email', 'std' => '',//Default Value 'type' => 'text'); //logo Text $options[] = array( 'name' => __('One Event', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor4_one_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Two Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor4_two_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Three Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor4_three_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Four Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor4_four_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price One', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor4_discount_one', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price Two', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor4_discount_two', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Last Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor4_event_end_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Paypal Business Account ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_paypal_acc', 'std' => '',//Default Value 'type' => 'text'); $wp_editor_settings_four = array( 'wpautop' => true, // Default 'textarea_rows' => 20, 'tinymce' => array( 'plugins' => 'wordpress' ) ); $options[] = array( 'name' => __('Terms and Conditions ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor4_terms', 'type' => 'editor', 'settings' => $wp_editor_settings_four ); // Tournament 5 $options[] = array( 'name' => __('Tournament 5', 'options_framework_theme'), 'type' => 'heading'); $options[] = array( 'name' => __('Tournament Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_tournament_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor5_event_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name of tournament director', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_director_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Location', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_location', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Name', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_name', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_address', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Phone number', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_phone', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('E-mail address', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_email', 'std' => '',//Default Value 'type' => 'text'); //logo Text $options[] = array( 'name' => __('One Event', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor5_one_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Two Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor5_two_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Three Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor5_three_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Four Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'tor5_four_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price One', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor5_discount_one', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price Two', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'tor5_discount_two', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Last Date of Event', 'options_framework_theme'), 'desc' => __('Date Format YYYY-MM-DD.', 'options_framework_theme'), 'id' => 'tor5_event_end_date', 'std' => '',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Paypal Business Account ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_paypal_acc', 'std' => '',//Default Value 'type' => 'text'); $wp_editor_settings_five = array( 'wpautop' => true, // Default 'textarea_rows' => 20, 'tinymce' => array( 'plugins' => 'wordpress' ) ); $options[] = array( 'name' => __('Terms and Conditions ', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'tor5_terms', 'type' => 'editor', 'settings' => $wp_editor_settings_five ); // Tournament Template $options[] = array( 'name' => __('Tournament Template', 'options_framework_theme'), 'type' => 'heading'); $template_array = array( 'tournament_one' => __('Tournament 1', 'options_check'), 'tournament_two' => __('Tournament 2', 'options_check'), 'tournament_three' => __('Tournament 3', 'options_check'), 'tournament_four' => __('Tournament 4', 'options_check'), 'tournament_five' => __('Tournament 5', 'options_check') ); $options[] = array( 'name' => __('Tournament Template Selection', 'options_framework_theme'), 'desc' => __('', 'options_framework_theme'), 'id' => 'template_selection', 'std' => 'tournament_one', 'type' => 'radio', 'options' => $template_array); //Logo /*$options[] = array( 'name' => __('Upload a Logo', 'options_framework_theme'), 'desc' => __('Upload a logo on your theme, size must be 300px by 150px.', 'options_framework_theme'), 'id' => 'logo_uploader', 'type' => 'upload'); //Favicon $options[] = array( 'name' => __('Upload a Favicon', 'options_framework_theme'), 'desc' => __('Upload a favicon on your theme, size must be 16px by 16px', 'options_framework_theme'), 'id' => 'favicon_uploader', 'std'=>'http://hiphopflare.com/wp-content/uploads/2013/07/32-X-32.png', 'type' => 'upload'); //Footer text $options[] = array( 'name' => __('Footer Text', 'options_framework_theme'), 'desc' => __('Enter any text to dispalay on footer.', 'options_framework_theme'), 'id' => 'footer_text', 'std' => '© 2013 Video Web Application. All Rights Reserved.', 'type' => 'textarea'); //Social share Links $options[] = array( 'name' => __('Facebook', 'options_framework_theme'), 'desc' => __('Enter facebook page url.', 'options_framework_theme'), 'id' => 'facebook_link', 'std' => 'http://facebook.com/hhf', 'type' => 'text'); //Social share Links $options[] = array( 'name' => __('Twitter', 'options_framework_theme'), 'desc' => __('Enter Twitter page url.', 'options_framework_theme'), 'id' => 'twitter_link', 'std' => 'http://twitter.com/hhf', 'type' => 'text'); //Social share Links $options[] = array( 'name' => __('Goolge Pluse', 'options_framework_theme'), 'desc' => __('Enter Google Pluse page url.', 'options_framework_theme'), 'id' => 'googlepluse_link', 'std' => 'https://plus.google.com/hhf', 'type' => 'text'); */ //Heading /*$options[] = array( 'name' => __('Family', 'options_framework_theme'), 'type' => 'heading'); //Flared Up Video $options[] = array( 'name' => __('One Event', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'fone_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Two Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'ftwo_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Three Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'fthree_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Four Events', 'options_framework_theme'), 'desc' => __('Price in $.', 'options_framework_theme'), 'id' => 'ffour_event', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price One', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'fdiscount_one', 'std' => '0',//Default Value 'type' => 'text'); $options[] = array( 'name' => __('Discount Price Two', 'options_framework_theme'), 'desc' => __('Amount in $.', 'options_framework_theme'), 'id' => 'fdiscount_two', 'std' => '0',//Default Value 'type' => 'text');*/ //Flared Up Video /*$options[] = array( 'name' => __('Max Hours', 'options_framework_theme'), 'desc' => __('Maximum hours.', 'options_framework_theme'), 'id' => 'max_hours', 'std' => '48', 'class' => 'mini', 'type' => 'text'); //Flared Up Video $options[] = array( 'name' => __('Life Time(Days)', 'options_framework_theme'), 'desc' => __('No. of days', 'options_framework_theme'), 'id' => 'life_time', 'std' => '2', 'class' => 'mini', 'type' => 'text'); //Flared Up Video $flaerdup_array = array( 'own_video' => __('Own Video', 'options_check'), 'auto_flared' => __('Automatic', 'options_check'), 'existing' => __('Existing Video', 'options_check') ); $options[] = array( 'name' => __('Home Page Flaredup Video', 'options_framework_theme'), 'desc' => __('Home Page Flaredup Video optional', 'options_framework_theme'), 'id' => 'flaredup_opt', 'std' => 'own_video', 'type' => 'radio', 'options' => $flaerdup_array); //FlaredUp Video URL $options[] = array( 'name' => __('Vidoe URL', 'options_framework_theme'), 'desc' => __('FlaredUp Vidoe URL', 'options_framework_theme'), 'id' => 'flaredup_url', 'std' => 'http://hiphopflare.com/office/', 'type' => 'text');*/ //Featured Video Heading /*$options[] = array( 'name' => __('Featured Video', 'options_framework_theme'), 'type' => 'heading'); //Featured Up Video $featured_array = array( 'enable' => __('Existing', 'options_check'), 'disable' => __('Custom Video', 'options_check'), ); $options[] = array( 'name' => __('Home Page Flaredup Video', 'options_framework_theme'), 'desc' => __('Home Page Flaredup Video optional', 'options_framework_theme'), 'id' => 'featured_video', 'std' => 'enable', 'type' => 'radio', 'options' => $featured_array); //Featured Video URL $options[] = array( 'name' => __('Vidoe URL', 'options_framework_theme'), 'desc' => __('Featured Vidoe URL', 'options_framework_theme'), 'id' => 'featured_url', 'std' => 'http://hiphopflare.com/testing-again/', 'type' => 'text');*/ //Cont warning Video URL /*$options[] = array( 'name' => __('Content Warning', 'options_framework_theme'), 'type' => 'heading' );*/ /** * For $settings options see: * http://codex.wordpress.org/Function_Reference/wp_editor * * 'media_buttons' are not supported as there is no post to attach items to * 'textarea_name' is set by the 'id' you choose */ //Cont warning Video URL /*$options[] = array( 'name' => __('Vidoe URL', 'options_framework_theme'), 'desc' => __('Content warning title', 'options_framework_theme'), 'id' => 'warning_title', 'std' => 'Age Gate', 'type' => 'text'); $wp_editor_settings = array( 'wpautop' => true, // Default 'textarea_rows' => 5, 'tinymce' => array( 'plugins' => 'wordpress' ) ); $options[] = array( 'name' => __('Default Text Editor', 'options_framework_theme'), 'desc' => sprintf( __( 'You can also pass settings to the editor. Read more about wp_editor in <a href="%1$s" target="_blank">the WordPress codex</a>', 'options_framework_theme' ), 'http://codex.wordpress.org/Function_Reference/wp_editor' ), 'id' => 'cont_editor', 'type' => 'editor', 'std'=>'This video is age restricted Are you of 18+ age ', 'settings' => $wp_editor_settings ); //Cont waring URL $options[] = array( 'name' => __('Redirect URL', 'options_framework_theme'), 'desc' => __('Age aRedirect URL', 'options_framework_theme'), 'id' => 'exit_url', 'std' => 'http://hiphopflare.com', 'type' => 'text');*/ return $options; }