A simple plugin to prototype design ideas in WP-Admin. This repository is intended to be a quick way for designers to try out ideas and minor updates. Quick, messy code is encouraged to get ideas across.
The master
branch is just an empty boilerplate: it sets up a plugin that enqueues a new, empty admin stylesheet to get you started.
- Switch to a branch that has an experiment.
- Download a zip of the repository.
- Upload to your test site as a plugin.
- Activate the "Design Experiments" Plugin.
- First, fork the repository.
- Clone your fork. If possible, place your local copy in the Plugins folder of your local dev site. Then you'll be able to activate the plugin directly from your WP Admin dashboard (If this isn't possible, follow the instructions above to install the plugin manually after you've edited it).
- For simple CSS updates, you can either edit style.css directly, or edit
sass/style.scss
and compile using the method described below. - Once you're ready to share your experiment, open a PR and tell everyone about it.
- Run
npm install
to install dependencies (You'll only have to do this once). - Run
npm run build
to compile the CSS once, ornpm run watch
to have it compile changes whenever you modify a sass file.
If you'd like to propose improvements to this plugin, feel free to open an issue or PR. Also feel free to ask in the #design channel on WordPress.org Slack.