Celebrating 20 years of WordPress
npm i
npm run start
Your local environment should be running at http://localhost:8888
- Import
env/wporg_locales.sqlinto 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 LiveandSwagand 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 onstatic page - Follow setup instructions for the individual plugins below.
- 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.
- SSH to server
git pull