Add new field in the search widget
Hi
I try to add a news fields in the search box. Like Size or Town.
I see it's here
<form action="<?php bloginfo('url'); ?>/" method="get" id="searchform" class="form_search">
<input name="s" type="text" id="s" value="<?php _e('What are you looking for?','cp'); ?>" onfocus="if (this.value == '<?php _e('What are you looking for?','cp'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('What are you looking for?','cp'); ?>';}" class="editbox_search" />
<?php wp_dropdown_categories('show_option_all='.__('All Categories', 'cp').'&hierarchical=1&hide_empty=0&orderby=id&sho w_count=0&title_li=&use_desc_for_title=1&exclude_t ree='.CP_BLOG_CAT_ID); ?>
<input type="submit" class="btn_orange" value="<?php _e('Search','cp')?>" title="Search" id="go" name="sa" />
</form>
but what can I change for add a news fields?
Thank for your answers.
bob-leliquidateur.com