"icon" will show a clickable search icon for search. Clicking the icon will open a search-bar.
search icon open on click
post-types can accept any built-in or custom post type that has been synced with searchIQ in `synchronizing posts` step.
The placeholder can accept any text value you want to show as default text in the search box
width can accept any integer value which will be used to set the width of the search box. The integer value may be suffixed by % or px. If the value is added without suffix it will by default take px as the suffix.
Default width for search-bar is 100% of the parent element and for icon is 300px
"left" or "right"
"left" will place the search bar or icon on the left of the screen.
"right" will place the search bar or icon on the right of the screen.
Example shortcode with options:
[siq_searchbox type="icon" placeholder="Search here" post-types="post,product" width="500" placement="right"]