SoftGlaze Search
Mapbox-backed directory search for WordPress. Search forms, distance-sorted result grids, category blocks and provider profile pages off a configurable post type.
by Azhar Ali · github.com/softglazee/softglaze-search · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/softglazee/softglaze-search/archive/refs/heads/master.zipFrom the readme
SoftGlaze Search
Version 1.0.0 · 24 files · text domain softglaze-search
Mapbox-backed directory search. Renders search forms, distance-sorted result grids, category blocks and provider profile pages off a configurable post type.
One of two divergent builds. The other is softglaze-search-multilingual. They share table names and shortcode tags, so only one may be active on a given site.
Provides
- Shortcodes — [sgsearchform], [sgsearchresultspage], [sgsearchformsingle], [sgsearchformdual], [sgsearchresultsdisplay], [sgcategoryblock], [sgdisplayproviders], [sglatestbloggrid], plus a generated [listall] per configured post type
- Admin — Settings page holding the Mapbox public token (softglazesearchmapboxkey), result page URL and form HTML
- Universal templates — single-cpt-universal.php renders any configured post type, not just one
Tables
{prefix}sgproviders, {prefix}sgreviews, {prefix}sgfaqs, {prefix}sgsuggestions. sgproviders is also written by SoftGlaze Trustoo Scraper.
Requires
ACF, and a Mapbox public token set in the plugin's settings. No token is bundled; map and autocomplete stay inert until one is entered.
Known issues, both pre-existing
- assets/css/map.js post