greenpeace / planet4-gpca-plugin-blocks
Provides Planet4 content blocks specific to Greenpeace Canada
Installs: 440
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 12
Language:JavaScript
Type:wordpress-plugin
README
Cards with clickable title, description, image, and more…
Description
Easily create nice cards, complete with:
- a clickable title
- a clickable image
- a short description
- date and optional location for event cards
- categories
- search
- map
Installation
See Wordpress instructions for installing plugins.
YMMV
Your mileage may vary.
Things may behave differently in your Wordpress installation due to conflicting scripts or styles, so best to take the time to test things a bit before deploying to production.
Development environment
- Requires Wordpress >= 5.6.0 (tested up to 5.6.0)
- Requires PHP >= 7.0.0
- Requires Docker to be running
- Clone or fork this repo
- install dependencies:
npm install && npm install -g @wordpress/env
- build (and automatically rebuild when files change):
npm start
- launch a Wordpress environment in this directory:
wp-env start
(should sayWordpress development site started at http://localhost:8888/
) - Visit the dev site and log in with username
admin
and passwordpassword
Troubleshooting
See https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/#troubleshooting-common-problems, especially wp-env destroy
which has proved the only solution to a prolem with connecting to the database…
Changelog
See CHANGELOG.md