Reply To: Re-Order Search Fields

Home Forums Store Locator Plus Re-Order Search Fields Reply To: Re-Order Search Fields

#12245

ratputin
Participant

UPDATE:
I *may* have found my own solution. I have done the following:

Edited slp-pro.php (lines 367 – 370) to be:

        add_filter('slp_search_form_divs',array($this,'filter_SearchForm_AddCityPD'     ),20);
        add_filter('slp_search_form_divs',array($this,'filter_SearchForm_AddStatePD'    ),30);
        add_filter('slp_search_form_divs',array($this,'filter_SearchForm_AddCountryPD'  ),40);
        add_filter('slp_search_form_divs',array($this,'filter_SearchForm_AddTagSearch'  ),10);

and edited slp-tagalong.php (lines 249 – 253) to be:

            if ($this->options['show_cats_on_search']==='on'){
                add_filter('slp_search_form_divs',
                        array($this,'filter_AddCategorySelectorToSearchForm'),
                        5
                        );

In short, I changed the numerical value to correspond to the order I wanted. I am no php expert, so now the question…will these edits have any undesirable consequences (other than needing to be remade after updates)?

TIA
~Rat

Attachments:
You must be logged in to view attached files.