Skip to content

Shortcodes and Widgets

Place directory and business content anywhere on your site.

The plugin registers three shortcodes.

[bp-business-listing]
Attribute Default Options Description
per_page 10 Any number Businesses per page
category (all) Category slug Filter by category
view grid grid, list, map Display layout

Examples:

[bp-business-listing per_page="20" view="list"]
[bp-business-listing category="restaurants"]
[bp-business-listing view="map"]
[search-business-listing]

Renders the search and filter form. Place it above your business listing so visitors can filter it.

[business_claim_button business_id="123"]
Attribute Description
business_id ID of the business to claim

Usually you do not need this shortcode, because the claim button appears automatically on unclaimed business pages when claiming is enabled.

Pages, posts, text/shortcode widgets, and page builders that accept shortcodes. If a shortcode shows as plain text, confirm the plugin is active and the shortcode is spelled correctly.

The plugin provides seven widgets. In classic widget areas they appear under names prefixed with the plugin.

Widget Displays
Business Info Contact details: email, phone, WhatsApp, website, address
Business Hours Weekly operating hours and open/closed status
Business Social Social profile links
Business Team Team members with avatars, names, and roles
Business List A configurable list of businesses
Business Search Filter The search and filter form
Business Claim The claim button on unclaimed businesses

The single-business widgets (Info, Hours, Social, Team) show only on business pages, and business owners can toggle their visibility from their business Settings > Sidebar options. Widgets automatically hide when there is no data to show.

The Business List, Search Filter, and Claim widgets have shortcode equivalents ([bp-business-listing], [search-business-listing], [business_claim_button]).