| 开发者 | wpdreamers |
|---|---|
| 更新时间 | 2026年5月19日 00:52 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
nearby-grid.php (or single-wrapper.php) into your theme's listing-reviews-for-directorist-with-yelp/ folder to fully customize the markup.at_biz_dir) automatically — no theme hacks, no shortcode placement needed. Activate, paste your Yelp API key, and every Directorist listing gets the nearby section.
If you don't yet have Directorist installed, the plugin will prompt you to install it during activation.
/wp-content/plugins/.No. Listing Reviews for Directorist with Yelp is a Directorist add-on. It requires the Directorist plugin to be active. WordPress will prompt you to install Directorist when you activate this plugin.
The Yelp Fusion API lets developers fetch business data from Yelp. It's free for most use cases. Sign up at yelp.com/developers, create an app, and copy the API key into the plugin's Settings → General tab. The plugin will not make any API calls until a key is configured.
Yelp's free Fusion API tier covers a substantial number of requests per day. See Yelp's API documentation for the current rate limits. Most Directorist sites stay well under the free quota; the plugin also memoizes results within a single page request so multiple sidebar/content placements don't double-count.
No. Only the listing's coordinates, radius, category, and your API key are sent in the server-to-server request. No visitor IP, cookies, browser fingerprint, or personally identifiable information is transmitted. The Yelp call happens server-side from your WordPress install, not from the visitor's browser.
All of them. Restaurants, hotels, real estate, classifieds, services, events, city guides — any Directorist directory type. The 6 built-in categories (Restaurants, Food, Cafés, Bars, Shopping, Hotels) cover the most common cases; per-listing overrides let you switch categories on a listing-by-listing basis.
You choose. Open Settings → Placement and pick:
Yes — in two ways:
templates/nearby-grid.php into your theme at wp-content/themes/your-theme/listing-reviews-for-directorist-with-yelp/nearby-grid.php and edit it freely.Yes. Open Settings → Submission Form and enable Show on submission form. A "Yelp Category" dropdown will appear inside Directorist's frontend listing form, positioned directly under the address / map fields. Submitters can also override the search radius on their listing if you enable Allow radius override.
The plugin needs valid coordinates for the listing. If a Directorist listing doesn't have a latitude/longitude set (the _manual_lat and _manual_lng post-meta keys), the section is silently skipped — there's nothing to search around. Edit the listing and re-save its address through Directorist's map field.
The Yelp call happens server-side during page render. It's a single HTTP request with an 8-second timeout. On a typical hosting setup the call completes in a few hundred milliseconds. If you upgrade to the Pro version, smart caching reduces every repeat visit to a free local lookup instead of a Yelp request.
Yes. No visitor data leaves WordPress. The plugin makes a server-to-server call to Yelp using only the listing's geographic coordinates and your API key — no visitor IP, no cookies, no third-party script in the visitor's browser. Yelp's photo URLs do load from Yelp's CDN on the frontend, similar to any embedded image; consider including Yelp in your privacy policy if that matters for your jurisdiction.
Not in the free version. The free plugin renders specifically on Directorist's at_biz_dir single listing pages. The Pro version adds a [yelp_nearby] shortcode, a Gutenberg block, an Elementor widget, and a public REST endpoint so you can drop the nearby grid anywhere.
Yes. The plugin ships with a complete .pot file under /languages/. All UI strings are wrapped with the listing-reviews-for-directorist-with-yelp text domain. PRs welcome to add new locale files.
No. This plugin uses Yelp's publicly documented Fusion API under the Yelp API Terms of Use. It is not affiliated with, endorsed by, or sponsored by Yelp Inc. "Yelp" is a trademark of Yelp Inc.
data-theme on the grid root, with Pro SCSS variants.<style id="lrdy-pro-custom-css"> on listing pages.categories= parameter so each listing pulls results from multiple categories at once.Hide from non-admin submitters toggle — the Yelp fields render only for admins; regular submitters never see them.cron_warm daily / weekly schedule. When enabled, Pro pre-warms the Yelp cache for every listing that has a Yelp category set, so the first visitor of the day hits a warm cache.append_utm is on (previously always on).Settings::push_override / reset_override) and a new POST /yelp-nearby-directorist-pro/v1/refetch REST endpoint that rebuilds the grid HTML server-side with visitor overrides — the shared infrastructure behind the filter bar and the geolocate flow.yelp_nbd_template_settings filter on the renderer and yelp_nbd_form_settings filter on the listing-submission form, so Pro can merge its keys (card_theme, frontend_filters, geolocate, multi_category, etc.) into the array the templates bind to.YelpClient now accepts CSV in the category arg so multi-category submissions filter correctly against Yelp Fusion.lat / lng / category / bypass_cache overrides, used by the refetch endpoint.wp-content/themes/your-theme/listing-reviews-for-directorist-with-yelp/.