Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript.

This shortcode is used to display live search form.

Attributes

Shortcode has several attributes:

  • class: additional CSS class name to add
  • products: ID’s for products to limit search to. This is optional, and it can be left empty, and in that case, search will be for all products.

Example #1

Shortcode:

[gdkob_live_search]

Output:

Example #2

Limit search to the product with ID 50085.

Shortcode:

[gdkob_live_search products="50085"]

Output:

0
0
311
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply