| 开发者 | jarradnpd |
|---|---|
| 更新时间 | 2026年5月28日 19:21 |
| 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! The plugin is completely self-contained. It registers its own custom post type and creates native WordPress meta boxes for all member fields.
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.
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.