Search Form

1: Shortcode Format

2 Columns
1 column
[ovabrw_search /] 
  • If you don't insert params in shortcode, the params will get in Search Settings

  • Some params: + template: insert your template name + column: one-column, two-column, three-column, four-column, five-column + show_name_product: yes/no + show_attribute: yes/no + show_tag_product: yes/no + show_pickup_loc: yes/no + show_dropoff_loc: yes/no + show_pickup_date: yes/no + show_dropoff_date: yes/no + show_cat: yes/no + show_tax: yes/no + name_product_required: yes/no + tag_product_required: yes/no + pickup_loc_required: yes/no + dropoff_loc_required: yes/no + pickup_date_required: yes/no + dropoff_date_required: yes/no + category_required: yes/no + attribute_required: yes/no + hide_taxonomies_slug: Insert slug taxonomies. separated by "," ( slug_a,slug_b,slug_c) + remove_cats_id: Insert ID Categories. separated by "," ( cat_a, cat_b, cat_c) + taxonomies_slug_required: Insert slug taxonomies. separated by "," ( slug_a,slug_b,slug_c) + timepicker: true/false + dateformat: d-m-Y, m/d/Y, Y/m/d, Y-m-d + hour_default: 12, 24 + time_step: Insert number , Ex: 15 + order: DESC, ASC + orderby: date + class: Insert your class

2: Customize Template

Read here to know how to customize template in child theme

The shortcode support Default Template and New Template:

a) Default template

You can customize template in

plugins/ova-brw/ovabrw-templates/shortcode/search_form_full.php

b) New template

Example: You can use shortcode with new template (ex: simple_search)

[ovabrw_search template="simple_search" /] 

You have to create a new template in theme. The file name have to like "template" param:

themes/your-theme/ovabrw-templates/shortcode/simple_search.php

Last updated