WP Manifestindependent plugin directory
manifest / themes / 2020photosynthesic

Snow Monkey for Photosynthesic

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/miminari/2020photosynthesic/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

My Snow Monkey Starter Kit

Snow Monkeyのカスタマイズをするプラグイン生成のスターターキットです。

※ Snow Monkey 本体、Snow Monkey Dietは含まれていません。

glightbox をgallery blockのlightboxとして利用しています。

Install

Node.js と npm https://docs.npmjs.com/downloading-and-installing-node-js-and-npm

Docker https://www.docker.com/get-started

wp-env https://www.npmjs.com/package/@wordpress/env

composer https://getcomposer.org/doc/00-intro.md

  1. Snow Monkey を./wp-content/themes/snow-monkey に、Snow Monkey Dietを./wp-content/plugins/snow-monkey-diet に置いてください。
  2. wp-env start でテーマがSnow MonkeyでSnow Monkey Block, Snow Monkey Editor, Snow Monkey Formが有効化されたローカル環境がhttp://localhost:54321 で立ち上がります

CSS, JSのbuildを利用する

npm install

phpcsを利用する

composer install

wp-envでローカル環境を構築する

wp-env start

でhttp://localhost:54321にSnow Monkeyをテーマとして有効化し Snow Monkey Diet, Snow Monkey Blocks, Snow Monkey Editor, Snow Monkey Formsがインストールされた環境が立ち上がります。

wp-envについてはこちら

Use

1. Custom Color Setup

カスタムカラーをcolor-config.jsonに指定し、以下のコマンドを実行。

npm run init:colors

2. Build

npm run build

3. release

npm run release