manifest / integrations / wp-punk-api
WP Punk API
WordPress Plugin that connects to the Punk API, and imports the data into a Custom Post Type called Beers
by Michael Edwards · github.com/smededwards/wp-punk-api · website
★ 0stars
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/smededwards/wp-punk-api/archive/refs/heads/main.zipWordPress Plugin that connects to the Punk API, and imports the data into a Custom Post Type called Beers
Installation
- Download the plugin
- Upload the plugin to the
/wp-content/plugins/directory - Run
composer installin the plugin directory to install the Composer dependencies - Then run
npm installin the plugin directory to install the Node dependencies - Finally run
npm run buildin the plugin directory to build the assets - Rename the
.env.examplefile to.env. - Activate the plugin through the 'Plugins' menu in WordPress
- The plugin will create a new Custom Post Type called Beers and import the data from the Punk API
CLI Command
wp punk-api import- Imports the data from the Punk API into the databasewp punk-api delete- Deletes the data from the database