WP Manifestindependent plugin directory
manifest / content / acf-hub-api

Hub API Content Picker

A WordPress plugin that creates a custom field to enable users to select content from the Hub API.

by Jen Wachter · github.com/johnshopkins/acf-hub-api

0stars
3.4kcomposer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/johnshopkins/acf-hub-api/archive/refs/heads/main.zip

Also on Packagist as johnshopkins/acf-hub-api:

composer require johnshopkins/acf-hub-api

From the readme

Hub API Content Picker 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: Require the plugin: In wp-config.php or your theme's functions file, define your Hub auhthentication: Activate the plugin in WordPress. Field value When getting the value of the field, you will receive an array with endpoint parts, like so: It is up to your theme to query the API and fetch the results.

Read the full README on GitHub →