wp20.wordpress.net
Celebrating 20 years of WordPress
Installation (requires Docker)
npm i
npm run start
Your local environment should be running at http://localhost:8888
Configuration
- Import
env/wporg_locales.sql
into your database npm run setup:wp
- Activate the Twenty Seventeen - WP20 child theme
- Import the posts from wp20.wordpress.net
- Add the Surge constants to your
wp-config.php
:define( 'WP_CACHE', true ); # This may already be existent below, so no need to add if it is. define( 'WP_CACHE_CONFIG', __DIR__ . '/surge-config.php' );
- Add pages titled
What's on
,News
,#WP20 Live (slug: "live")
andSwag
- In Appearance > Menus, add a navigation menu with the pages
What's on
,News
,#WP20 Live
andSwag
and set asTop Menu
- In Appearance > Menus, add a social menu with items such as Facebook, Twitter, etc. and set as
Social Links Menu
- In Appearance > Widgets, remove everything.
- In Customizer > Header Media, ensure no header image is set
- In Settings > Reading, ensure your homepage is set to the
What's on
static page - Follow setup instructions for the individual plugins below.
Other Documentation
- Localization
- wp20-meetup-events - If the task you're working on doesn't involve this plugin, you can skip setting it up locally as the setup process can be time-consuming. Would be easier to work on the staging site instead.
Deploying
- SSH to server
git pull