www.mkdevops.se WordPress "Classic" Theme
This project is based on Automattic/_s
(or underscores
) starter theme.
Project links:
Have Docker Desktop, Node.js, PHP 7, and Composer installed, then install wp-env globally:
npm -g install @wordpress/env
Clone the Git repo and npm install
:
git clone git@github.com:mkdevops-se/www.mkdevops.se.git
cd www.mkdevops.se/
git checkout feature/underscores.me-theme
composer install
npm install
Start the WordPress development site:
wp-env start
Open http://localhost:8888/wp-admin/ in your web browser and login with username "admin" and password "password".
Finally, on the WP admin dashboard, go to Appearance / Themes / Midsommarkransen DevOps AB and select "Activate":
http://localhost:8888/wp-admin/themes.php?theme=www.mkdevops.se
How to install the theme in your WordPress site via the admin dashboard:
- Open Plugins page, click on the Add New button, and install the WPGlobus plugin
- Activate the WPGlobus plugin and configure languages Swedish and English only, removing the other defaults, following the WPGlobus Quick Start Guide
- Open Settings > Permalinks > Common Settings and select the "Post name" alternative, then Save Changes
- Open Plugins page, click on the Add New button, and install the Classic Editor plugin
- Open Pages > Add New and create a page with English title "IT Services", Save Draft, and Swedish title "IT-tjänster", then Publish
- Create another page with English title "Consulting", Save Draft, and Swedish title "Konsulttjänster", then Publish
- Download the repo zip archive, https://github.com/mkdevops-se/www.mkdevops.se/archive/refs/heads/main.zip, and upload it under Appearance > Themes > Add New > Upload Theme > Install Now, then activate the theme
Do you want to contribute to making this WordPress theme into a shining example of latest best practices? Please don't hesitate reaching out to mats@mkdevops.se for a swift onboarding!