This is a beta theme to create a new Learn WordPress website, a project by the Make WordPress Training team
Please read the Training team's Getting Started Guide!
Tasks that need help are noted in the Issues section of this repository, please let us know if you'd like to tackle one. You can fork the repository and submit your additions as a pull request.
- Set up a clean local installation of WordPress with your chosen tool (MAMP, WAMP, Local, VVV, etc).
- Rename your
wp-content
folder to something easy to remember, such aswp-content-original
. - Clone this repository with the command:
git clone https://github.com/wptrainingteam/learn-theme-beta.git wp-content
- In your
wp-config.php
file, add the following lines above the WordPress Stop Editing comment:
define( 'WPORGPATH', __DIR__ . '/wp-content/themes/' );
define( 'JETPACK_DEV_DEBUG', true );
- Now you should be able to activate the Learn Theme Beta and see the homepage when you look at the front-end of the website.
- Activate all of the plugins, and import the XML file located in the uploads folder to import lesson plans and handbook articles.
- Optionally, you can wait 15-30 minutes (make sure to load the website in your browser to trigger WP Cron) and the lessons will be imported via the WPOrg-Learn plugin, or you can manually import them with WP-CLI:
wp cron event run wporg_learn_manifest_import
wp cron event run wporg_learn_markdown_import
- Activate the JetPack modules Contact Form and Markdown
wp jetpack module activate contact-form
wp jetpack module activate markdown
You're ready to start developing and contributing! All accepted changes to the master branch appear on https://learnwp.jco.dev/, which refreshes every 5 minutes with updates.