regionhalland / region-halland-plugin-search-bar-data
插件用于获取搜索数据
v2.0.0
2020-10-23 07:30 UTC
README
如何使用Region Halland的插件"RhSearchBarData"
以下是使用"RhSearchBarData"插件的操作指南。
使用范围
此插件用于获取有关搜索信息的数据,然后将其发送到我们模板中的SearchBar。
许可证模型
此插件使用许可证模型GPL-3.0。您可以通过附带文件了解更多关于此许可证模型的信息。
LICENSE (https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhSearchBarData?path=%2FLICENSE&version=GBmaster)
安装和激活
A) Hämta pluginen via Git eller läs in det med Composer
B) Installera Region Hallands plugin i Wordpress plugin folder
C) Aktivera pluginet inifrån Wordpress admin
通过Git获取插件
git clone https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhSearchBarData
通过composer导入插件
以下两个部分需要添加到您的composer文件中
Repositories = 插件存储位置,在本例中为Azure
"repositories": [
{
"type": "vcs",
"url": "https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhSearchBarData"
},
],
Require = 指定您希望使用的插件版本,在本例中为1.0.0
注意!确保您获取了最新版本。
"require": {
"regionhalland/region-halland-search-bar-data": "1.0.0"
},
版本历史
2.0.0
- 重大变更:返回的'elevates'现在称为'quicklinks'。必须在使用数据的地方进行匹配。
1.2.2
- 调整了用于搜索建议的数据
1.2.1
- 修正了quicklinks
1.2.0
- 添加了提取quicklinks的功能
1.1.0
- 添加了从端点获取数据的功能
1.0.0
- 第一个版本