iBid has multiple header variants. Some of them come bundled with a complex search form (with categories dropdown) and some of them without categories dropdown. You can learn how to disable the dropdown or add it on the header variants without the dropdown.

Removing the categories dropdown:

# Header v1
remove_action('ibid_header1_search_form_before', 'ibid_search_form_categories_dropdown');

# Header v2
remove_action('ibid_header2_search_form_before', 'ibid_search_form_categories_dropdown');

# Header v4
remove_action('ibid_header4_search_form_before', 'ibid_search_form_categories_dropdown');

# Header v5
remove_action('ibid_header5_search_form_before', 'ibid_search_form_categories_dropdown');

Note: You should consult the theme panel and see what header is active and only copy the line for the active header. The code needs to be added on your child theme -> functions.php.

 

Adding the categories dropdown on the header variants without it:

# Header v6
add_action('ibid_header6_search_form_before', 'ibid_search_form_categories_dropdown');

# Header v8
add_action('ibid_header8_search_form_before', 'ibid_search_form_categories_dropdown');

# Header v9
add_action('ibid_header9_search_form_before', 'ibid_search_form_categories_dropdown');

Note: Again, you should consult the theme panel and see what header is active and only copy the line for the active header. The code needs to be added on your child theme -> functions.php.

Note 2: In case you are wondering why a particular header is missing from this page: This means that this header doesn’t contain a search form.

Was this post helpful?

Tags: , ,