array( 'label' => __( 'Throttle time (milliseconds)', 'addsearch' ), 'type' => 'number', 'default' => 300, 'attributes' => array( 'min' => 0, 'placeholder' => 300 ), ), 'default_sortby' => array( 'label' => __( 'Sort by', 'addsearch' ), 'type' => 'select', 'options' => array( 'relevance' => __( 'Relevance', 'addsearch' ), 'date' => __( 'Date', 'addsearch' ), ), ), 'display_date' => array( 'label' => __( 'Display Date', 'addsearch' ), 'type' => 'select', 'options' => $noYes, ), 'placeholder' => array( 'label' => __( 'Placeholder', 'addsearch' ), 'type' => 'text', 'default' => __( 'Search', 'addsearch' ), ), 'show_search_suggestions' => array( 'label' => __( 'Show Suggestions', 'addsearch' ), 'type' => 'select', 'options' => $yesNo, ), 'search_suggestion_position' => array( 'label' => __( 'Suggestion position', 'addsearch' ), 'type' => 'select', 'options' => array( 'left' => __( 'Left', 'addsearch' ), 'right' => __( 'Right', 'addsearch' ), ), ), 'hide_logo' => array( 'label' => __( 'Hide Logo', 'addsearch' ), 'type' => 'select', 'options' => $noYes, ), 'analytics_enabled' => array( 'label' => __( 'Google Analytics Enabled', 'addsearch' ), 'type' => 'select', 'options' => $noYes, ), 'widget_size' => array( 'label' => __( 'Widget Size', 'addsearch' ), 'type' => 'select', 'options' => array( 'S' => __( 'Small', 'addsearch'), 'M' => __( 'Medium', 'addsearch'), '' => __( 'Large', 'addsearch'), ), ), 'default_view' => array( 'label' => __( 'Default View', 'addsearch' ), 'type' => 'select', 'options' => array( 'grid' => __( 'Grid View', 'addsearch'), '' => __( 'List View', 'addsearch'), ), ), 'layout_theme_name' => array( 'label' => __( 'Theme', 'addsearch' ), 'type' => 'select', 'options' => array( 'dark' => __( 'Dark', 'addsearch'), '' => __( 'Light', 'addsearch'), ), ), 'automatic_filter_results_by_site_language' => array( 'label' => __( 'Filter Results by Language', 'addsearch' ), 'type' => 'select', 'options' => $noYes, ), ); ?>