This code is a companion to a PhraseApp blog article, and it helps provide an intro to WordPress theme i18n and l10n for WordPress developers.
- PHP 7.2
- MySQL 5.7
- WordPress 5.0.3
- Polylang 2.5.2
Note You must add at least one language in the Polylang plugin settings.
Once you have a running WordPress website, follow these steps to install the theme.
- Clone this repo to somewhere outside your WordPress installation.
- Copy the
<repo_root>/wp-content/themes/handmadestale
directory to your WordPress'<wp_root>/wp-content/themes
directory. - In your WordPress admin navigate to Appearance / Themes.
- You should see a theme titled Handmade's Tale. Click Activate on that theme.
Et Viola.