Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/cheffheid/astronomy-picture-of-the-day-block/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A block for WordPress that will let you display NASA's Astronomy Picture of the Day on your website.
Development
This plugin was created with the WebDevStudios Block Starter and includes support for Sass, PostCSS, WebDevStudios Coding Standards, and build tools like Webpack, Babel, and ESLint.
Watch for changes
npm start
Build the production version of the plugin
npm run build
Other handy commands
Lint JS
npm run lint:js
Lint CSS
npm run lint:css
Lint PHP
npm run lint:php
For more info on the WordPress Block API, check out the Gutenberg Handbook.
Changelog
0.2.0
- Added YouTube video support (APOD 04/24/2020)
0.1.0
- Initial block setup.