__('Front Page', '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 */ $wp_editor_settings = array( 'wpautop' => true, // Default 'textarea_rows' => 5, 'tinymce' => array( 'plugins' => 'wordpress' ) ); $options[] = array( 'name' => __('Front page text introduction', 'options_framework_theme'), 'id' => 'example_editor', 'type' => 'editor', 'settings' => $wp_editor_settings ); $options[] = array( 'name' => __('Front page photo uploader', 'options_framework_theme'), 'desc' => __('This image comes on top right in front page.', 'options_framework_theme'), 'id' => 'example_uploader', 'type' => 'upload'); $options[] = array ( 'name' => __('Widget 3', 'options_framework_theme'), 'desc' => __('Widget 3 text','options_framework_theme'), 'id' => 'widget_one', 'type' => 'editor', 'settings' => $wp_editor_settings ); $options[] = array ( 'name' => __('Widget 2', 'options_framework_theme'), 'desc' => __('Widget 2 text','options_framework_theme'), 'id' => 'widget_two', 'type' => 'editor', 'settings' => $wp_editor_settings ); $options[] = array ( 'name' => __('Widget 3', 'options_framework_theme'), 'desc' => __('Widget 3 text','options_framework_theme'), 'id' => 'widget_three', 'type' => 'editor', 'settings' => $wp_editor_settings ); $options[] = array( 'name' => __('Social Networks', 'options_framework_theme'), 'type' => 'heading'); $options[] = array( 'name' => __('Social Networks Links (Leave it blank if you dont have registration in such a network)', 'options_framework_theme'), 'id' => 'facebook_link', 'std' => 'http://facebook.com/', 'desc' => 'Facebook link', 'type' => 'text' ); $options[] = array( 'name' => __('','options_framework_theme'), 'id' => 'twitter_link', 'std' => 'http://twitter.com/', 'desc' => 'Twitter link', 'type' => 'text' ); $options[] = array ( 'name' => __('','options_framework_theme'), 'id' => 'googleplus_link', 'std' => 'http://plus.google.com/', 'desc' => 'Google Plus Link', 'type' => 'text' ); $options[] = array ( 'name' => __('', 'options_framework_theme'), 'id' => 'behance_link', 'std' => 'http://behance.com/', 'desc' => 'Behance link', 'type' => 'text' ); $options[] = array ( 'name' => __('', 'options_framework_theme'), 'id' => 'linkedin_link', 'std' => 'http://linkedin.com/', 'desc' => 'LinkedIn link', 'type' => 'text' ); $options[] = array ( 'name' => __('', 'options_framework_theme'), 'id' => 'pinterest_link', 'std' => 'http://pinterest.com/', 'desc' => 'Pinterest link', 'type' => 'text' ); $options[] = array ( 'name' => __('', 'options_framework_theme'), 'id' => 'youtube_link', 'std' => 'http://youtube.com/', 'desc' => 'Youtube Link', 'type' => 'text' ); return $options; }