A simple, clean, customizable WordPress theme transplants from the Hugo theme hugo-paper.
-
Make sure you have Node.js, PNPM, Docker, PHP, Composer installed.
-
Clone the repository and install the dependencies:
git clone https://github.com/huangcheng/wordpress-theme-paper composer install pnpm install
-
Build locale assets:
pnpm run build:i18n
-
Build the stylesheet:
pnpm run build:css
-
Start the development server:
pnpm run start
To build the theme for production, run pnpm run build
.
-
Download the latest release from the releases page.
-
Go to the WordPress admin panel, click on "Appearance" and then "Themes".
-
Click on "Add New" and then "Upload Theme".
-
Choose the downloaded zip file and click "Install Now".
-
After installation, click on "Activate".