This Meeting Calendar provides a way of scheduling recurring meetings, and displaying a calendar or timetable.
- Make sure you have
git
,node
, andnpm
installed. - Clone this repository into your
\plugins
folder. - Execute
npm install
from the root directory of the repository to install the dependencies. - Execute
npm start
for development mode (npm run build
for a production build). - Activate the
Meeting Calendar
plugin in your WordPress plugin directory - Create some meetings
- While editing your page/post, add in the
Meeting Calendar
block and publish!
You can (optionally) use wp-env
to set up a local environment.
- Install the node dependencies
npm install
- Start the wp-env environment with
npm run wp-env start
- Visit your new local environment at
http://localhost:8888
- Install the composer dependencies
composer install
- If you haven't yet, install the node dependencies
npm install
- Start the wp-env environment with
npm run wp-env start
- Run the tests with
npm run test:unit-php
Calendars and individual events can be accessed through .ics
links, for example http://localhost:8888/meetings.ics. For these links to work, the permalink_structure
option must be set in the wp_options
database table, and the appropriate rule must be present in .htaccess
.
You can set both with the following command:
# The --hard flag updates .htaccess rules as well as rules in the database.
# For more info see:
# https://developer.wordpress.org/cli/commands/rewrite/structure/
wp-env run cli "wp rewrite structure --hard '/%postname%'"
Meeting Calendar is licensed under GNU General Public License v2 (or later).