Well, by default this page comes with 10 stores in each page and 2 stores per row, and off course all active vendor’s stores.
Now, you may change this page display and listed stores. Here is list all supported short code attributes –
- theme -> default: classic, alternate: simple
- per_page -> change how may stores will display in each page (default: 10) -> use: per_page=”20″ (now 20 stores will display in each page)
- per_row -> default: 4, change use: per_row=”3″ (upto 5 supported)
- sidebar -> by default this page has a widget area to insert widget for filtering purpose, but you may disable this -> use: sidebar=””
- has_orderby -> there is a order by at top of the page, using this listed vendors order can be change. Default: ON, disable use: has_orderby=””
- filter -> this is related to sidebar, if you disable sidebar then filters visible at top of store list. Now you may disable this -> use: filter=””
- category -> this is related to filters, whether category filter will be there or not? Default: ON, disable use: category=””
- country -> this is related to filters, whether country filter will be there or not? Default: ON, disable use: country=””
- state -> this is related to filters, whether state filter will be there or not? Default: ON, disable use: state=””
- map -> Well this page comes with a map to show all stores using map view, Default: ON, disable use: map=””
- map_zoom -> Default map zoom: 5
- auto_zoom -> map will auto-zoom depending upon store point on map or not?
- search -> you may use this to filter and show only specific stores. Just have to specify search term -> search=”[YOUR TERM]”
- includes -> you may specify particular store ids, comma separated, hence only those will b visible, use: includes=”2,3,8,65″ (now only these 4 stores will be visible)
- excludes -> you may exclude few particular stores form list, use: excludes=”5,4,9,65″ (now these 4 stores will be exclude from list)
- exclude_membership -> you may exclude by membership id as well, hence all vendors associated that membership will be excluded
- search_category -> may specify one or multiple category ids (comma separated) and hence only stores associated with those categories will be listed
- has_product -> enable checking to include only stores which has published products, Default: OFF, use: has_product=”yes” (now it will list only stores which already has products in store)
Well, hope you are confuse with uses. Your short code will be look like this –
[wcfm_stores search_category="9,12" has_product="yes" map=""]
Do not add space between double quotes (“).