regionhalland/region-halland-plugin-acf-pages

Posttyp,ACF 字段和 REST 设置用于 Pages posttyp

安装: 42

依赖项: 0

建议者: 0

安全: 0

类型:wordpress-plugin

v1.0.2 2021-01-12 13:11 UTC

This package is auto-updated.

Last update: 2024-09-18 22:51:16 UTC


README

如何使用 Region Hallands 的插件 "RhAcfPages"

以下是使用 "RhAcfPages" 插件的方法。

使用范围

此插件为 Apps 创建一个 posttyp,为 Pages 创建 ACF 字段,并处理 WordPress REST api 返回的内容

许可模型

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

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

通过 composer 导入插件

以下两个部分需要添加到您的 composer 文件中

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

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

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

注意!确保您下载的是最新版本。

"require": {
  "regionhalland/region-halland-acf-pages": "1.0.1"
},

版本历史

1.1.0

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

1.0.1

  • 由于我们使用了内置的 pages 类型,因此可以移除 rewrite flushes

1.0.0

  • 第一个版本包含通过 Packagist 的发布