regionhalland/region-halland-plugin-acf-page-personer-intra

用于在管理界面保存个人“地区名称”的字段

v1.0.0 2020-07-23 14:50 UTC

This package is not auto-updated.

Last update: 2024-09-28 09:44:09 UTC


README

如何使用Region Halland插件"RhAcfPagePersonerIntra"

以下是如何使用插件"RhAcfPagePersonerIntra"的说明。

使用范围

此插件在管理界面创建字段以保存个人的“地区名称”

许可证模型

此插件使用GPL-3.0许可证模型。您可以通过随附的文件了解更多关于此许可证模型的信息

LICENSE (https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhAcfPagePersonerIntra?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/RhAcfPagePersonerIntra

通过composer导入插件

这些部分需要添加到您的composer文件中

Repositories = 存储插件的位置,在此例中为github

"repositories": [
  {
    "type": "vcs",
    "url": "https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhAcfPagePersonerIntra"
  },
],

Require = 指定您想使用的插件版本,在此例中为1.0.0

注意!请确保您获取的是最新版本。

"require": {
  "regionhalland/region-halland-acf-page-personer-intra": "1.0.0"
},

通过Blade获取"person"字段

<div>
  {{ get_region_halland_acf_page_personer_intra_person() }}
</div>

版本历史

1.1.0

  • ACF字段现在在WP JSON REST API中显示

1.0.0

  • 第一个版本