Store Listing Shortcode
[rda_dokan_store_listing] outputs a paged grid of Dokan stores with an optional vendor search box. It renders through Dokan’s store-lists template part, so the store list layout follows the theme.
Basic usage
Section titled “Basic usage”[rda_dokan_store_listing]Attributes
Section titled “Attributes”| Attribute | Default | Description |
|---|---|---|
per_page |
10 |
Number of stores shown per page. |
search |
yes |
Set to yes to show the vendor search box and honor the dokan_seller_search query. Any other value disables search. |
per_row |
3 |
Number of stores per row. |
featured |
no |
Set to yes to show only featured vendors. |
enable_slider |
false |
Set to a truthy value to render the grid as a slider. |
selected_vendors |
(none) | Comma-separated vendor IDs. When set, only those vendors are listed and the featured and search filters are bypassed. |
Examples
Section titled “Examples”Show six featured stores, two per row:
[rda_dokan_store_listing per_page="6" per_row="2" featured="yes"]Show a fixed set of vendors by ID:
[rda_dokan_store_listing selected_vendors="12,34,56"]Disable the search box:
[rda_dokan_store_listing search="no"]Pagination
Section titled “Pagination”The grid is paged using the paged query variable, so it works on a static page or archive that supports pagination. per_page sets the page size and the offset is calculated from the current page.
- When
searchisyes, the search box submits thedokan_seller_searchterm, which matches stores by store name. - Developers can filter the default attributes and the seller query. See Hooks and Filters.

