Join Morten Rand-Hendriksen for an in-depth discussion in this video Get WP Rig, part of WordPress: Building Progressive Themes with WP Rig.
- [Instructor] Every time you start a new project with wprig, you should get a fresh copy from the wprig GitHub repository. That way you get all the latest features and you have a clean slate to work from. Go to github.com/wprig/wprig and from here you can either clone the repo into your dev environment or download a zip archive by clicking this button. On my computer I've already downloaded the zip archive and extracted it into this new folder called wprig. You can see here are all the files and now to get this to work in my dev environment I navigate to the WordPress install on my computer, then go to wp-content, Themes, and copy the wprig folder over. Now if you've worked with starter themes in the past or even an earlier version of wprig, you'll feel inclined to change the folder name here from wprig to something else. Don't do that because once you have wprig installed and you've built out the theme you want, you can export it into a folder with whatever name you choose. So you don't set the name of the theme now. You set the name of the theme at the end of the process and that way you can spin up many different themes from the same kit. But I'm getting way ahead of myself here. For now, we just need to get wprig folder into the Themes folder to get things to work. Once that's done, you can go and open your code editor, in my case Visual Studio Code, go to File and open the folder, and then navigate to the local WordPress installation, wp-content, Themes, and wprig, and select that folder as your project folder. When you see a file and folder structure, like what I have on my screen here, you're good to go.
- Setting up a WordPress theme development environment
- Installing WP Rig
- Building, activating, and testing a new progressive theme
- Editing CSS
- Using web fonts
- Editing existing templates
- Adding advanced features
- Translating a theme