Results 1 to 2 of 2

Thread: Add new field in the search widget

  1. #1
    Thread Starter
    Senior Member piplo's Avatar
    Join Date
    Oct 2010
    Location
    France
    Posts
    163
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,982
    Thanks
    170
    Thanked 3,408 Times in 3,279 Posts
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using search plugin WP Custom Field Search
    By Unregistered in forum ClassiPress General Discussion
    Replies: 70
    Last Post: August 31st, 2011, 11:01 PM
  2. Search Widget in Header
    By alinimmo in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 17th, 2010, 10:43 AM
  3. [SOLVED] "Ad Search Box" Widget disappeared from (Appearance>Widget)
    By jeferson in forum Report ClassiPress Bugs
    Replies: 13
    Last Post: September 12th, 2010, 01:13 PM
  4. Search Widget Issue
    By tbase in forum Help Using ClassiPress
    Replies: 3
    Last Post: December 31st, 1969, 07:00 PM