array( 'value' => 'abel', 'label' => __( 'Abel', 'oxygen' ) ), 'oswald' => array( 'value' => 'oswald', 'label' => __( 'Oswald', 'oxygen' ) ), 'terminal_dosis' => array( 'value' => 'terminal_dosis', 'label' => __( 'Terminal Dosis', 'oxygen' ) ), 'bitter' => array( 'value' => 'bitter', 'label' => __( 'Bitter', 'oxygen' ) ), 'georgia' => array( 'value' => 'georgia', 'label' => __( 'Georgia', 'oxygen' ) ), 'droid_serif' => array( 'value' => 'droid_serif', 'label' => __( 'Droid Serif', 'oxygen' ) ), 'helvetica' => array( 'value' => 'helvetica', 'label' => __( 'Helvetica', 'oxygen' ) ), 'arial' => array( 'value' => 'arial', 'label' => __( 'Arial', 'oxygen' ) ), 'droid_sans' => array( 'value' => 'droid_sans', 'label' => __( 'Droid Sans', 'oxygen' ) ) ); return apply_filters( 'oxygen_font_select_options', $font_select_options ); } /** * Returns an array of font size select options registered for Oxygen. * * @since Oxygen 0.2.2 */ function oxygen_font_size_select_options() { $font_size_select_options = array( '18' => array( 'value' => '18', 'label' => __( 'X-Large', 'oxygen' ) ), '17' => array( 'value' => '17', 'label' => __( 'Large', 'oxygen' ) ), '16' => array( 'value' => '16', 'label' => __( 'Default', 'oxygen' ) ), '15' => array( 'value' => '15', 'label' => __( 'Medium', 'oxygen' ) ), '14' => array( 'value' => '14', 'label' => __( 'Small', 'oxygen' ) ), '13' => array( 'value' => '13', 'label' => __( 'X-Small', 'oxygen' ) ) ); return apply_filters( 'oxygen_font_size_select_options', $font_size_select_options ); } /** * Returns the options array for Oxygen. * * @since Oxygen 0.2.2 */ function oxygen_get_theme_options() { $saved = ( array ) get_option( 'oxygen_theme_options' ); $defaults = array( 'font' => 'abel', 'font_size' => '16', 'link_color' => '#0da4d3' ); $defaults = apply_filters( 'oxygen_default_theme_options', $defaults ); $options = wp_parse_args( $saved, $defaults ); $options = array_intersect_key( $options, $defaults ); return $options; } /** * Renders the Font select options setting field. * * @since Oxygen 0.2.2 */ function oxygen_settings_field_font_select_options() { $options = oxygen_get_theme_options(); ?>