承接 johnshopkins/acf-hub-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

johnshopkins/acf-hub-api

最新稳定版本:1.2.0

Composer 安装命令:

composer require johnshopkins/acf-hub-api

包简介

Advanced Custom field that enables users to select content from the Hub API

README 文档

README

Advanced Custom field that enables users to select content from the Hub API.

Installation via Composer

In your composer.json file, be sure to let Composer know where to install WordPress plugins:

{
  "extra": {
    "installer-paths": {
      "path/tp/plugins/{$name}/": [
        "type:wordpress-plugin"
      ]
    }
  }
}

Require the plugin:

composer require johnshopkins/acf-hub-api

In wp-config.php or your theme's functions file, define your Hub auhthentication:

const HUB_API_KEY = '{your_api_key}';
const HUB_API_VERSION = 1;

Activate the plugin in WordPress.

Field value

When getting the value of the field, you will receive an array with endpoint parts, like so:

[
  'collection' => string 'tags',
  'id' => int 384,
  'subcollection' => string 'articles'
]

It is up to your theme to query the API and fetch the results.

统计信息

  • 总下载量: 3.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固