开发者 | thundersnow |
---|---|
更新时间 | 2022年2月24日 04:40 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 5.8 |
版权: | BSD 3-Clause "New" or "Revised" License |
版权网址: | 版权信息 |
API Key
* Experience Key
* Business ID
* Locale
* Redirect URL
- The URL of the search results page.
* Answers Javascript Version
- The most recent version of the Yext Answers Javascript library.
* iFrame Script URL
- Fill this out if provided by your administrator.
Once installed, use the following shortcodes to add the Answers experience to your page:
[yext_searchbar placeholder_text = "Search..."]
[yext_results_page]
Your administrator will help you obtain the needed information. You’ll need your API Key, Experience Key, Business ID, Locale, the URL of the search results page, and a version number for our javascript library
Search bar: Under the hood, this shortcode calls our Answers Javascript Library to create the search bar component using your provided configuration. Search Results page: This shortcode creates a div and adds a script tag to place the iframe with your Answers search results.
No, you can still use our search bar shortcode, and link out to a different page for the search results page.