Skip to content
Beta for a ressurection of the learn.wordpress.org site
PHP CSS JavaScript Other
Branch: master
Clone or download
jessecowens Merge pull request #52 from jessecowens/master
Readme import instructions and minor plugin bugfix.
Latest commit b0d6af9 Aug 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugins Fix post_type to use class attribute Aug 15, 2019
themes Match archive template to page-lesson-plans.php Aug 6, 2019
uploads Update README and import file with lessons and handbook pages. Aug 5, 2019
.gitignore
readme.md Update README with wp-cli import instructions Aug 15, 2019

readme.md

Learn Site Theme Beta

Last updated: 5 August, 2019

This is a beta theme to create a new Learn WordPress website, a project by the Make WordPress Training team

How to Get Involved

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.

How to set up your Local Development Site

  1. Set up a clean local installation of WordPress with your chosen tool (MAMP, WAMP, Local, VVV, etc).
  2. Rename your wp-content folder to something easy to remember, such as wp-content-original.
  3. Clone this repository with the command:
git clone https://github.com/wptrainingteam/learn-theme-beta.git wp-content
  1. 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 );
  1. 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.
  2. Activate all of the plugins, and import the XML file located in the uploads folder to import lesson plans and handbook articles.
  3. 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

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.

You can’t perform that action at this time.