| 开发者 | jarradnpd |
|---|---|
| 更新时间 | 2026年8月11日 10:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[viewwdi_directory] — the full directory grid with search and category filters[viewwdi_layout] — directory grid with the category sidebar in a two-column layout[viewwdi_featured] — a row of your featured members[viewwdi_sidebar] — just the category navigation (works in widget areas too)vieww-directory folder to /wp-content/plugins/ directory, or install through the WordPress plugins screenNo. Maps run on OpenStreetMap and work as soon as you activate the plugin. There's no Google account to create, no API key to paste in, and no billing setup.
No. Everything the directory needs — members, categories, search, filtering and maps — ships in this one plugin. It works with any theme.
It's yours. Everything lives in your own WordPress database, and deleting the plugin removes its data cleanly — no orphaned tables left behind. Deactivating (rather than deleting) keeps all your data intact.
Directory Grid:
[viewwdi_directory]
Displays all members in a responsive grid with search and category filtering.
Attributes: columns (2 or 3, default 3), limit (number of members, default -1 for all), featured (true/false), show_search (true/false).
Category Sidebar:
[viewwdi_sidebar]
Renders a hierarchical category list. Clicking a category filters the directory.
Attributes: title (heading text), show_counts (true/false), show_all (true/false).
Featured Members:
[viewwdi_featured limit="6" columns="3"]
Quick shortcode for a featured members block.
All-in-One Layout:
[viewwdi_layout]
Renders the sidebar and directory grid in a responsive two-column layout. No page builder columns needed.
Attributes: all [viewwdi_directory] attributes plus show_sidebar (true/false), sidebar_title (heading text), show_counts (true/false).
The easiest way is to use [viewwdi_layout] — it renders the sidebar and grid side by side automatically.
Alternatively, place [viewwdi_sidebar] in a 30% left column and [viewwdi_directory] in a 70% right column using your page builder or theme layout. The sidebar links update the URL and the directory reads the URL parameter to filter automatically.
Yes! Go to Directory > Design in the WordPress admin to customise colours, typography, and spacing. Changes apply to all directory pages, cards, and profiles.
Edit any member and check the "Mark as Featured Member" checkbox in the sidebar. Featured members appear first in the directory with a gold badge.
Yes! Go to Directory > Categories, add a parent category (e.g. "Food & Beverage"), then add child categories (e.g. "Cafes", "Restaurants") with the parent set. The sidebar renders parent > children with an expand/collapse arrow.
add_submenu_page() does not deduplicate — it appends both menu items and binds both callbacks to the one hook. The Directory Page picker and the Enable-maps toggle are now a single page saved through one form.Unit 5/123 Main St) no longer lose the street number during geocoding — the unit-prefix stripper now stops at the slash, so the trailing house number survives and Nominatim resolves to the actual street rather than the suburb centroid.