CoreFiles by mySites.guru
contributing.txt21 lines, 1,584 bytes, from wordpress-7.2-RC3.zip
Raw History Compare with 7.2-RC2
md5
abd3d705760d63118987d289053cde9c
sha1
d7e97221285027bfddb2b1adb3bf7ad133ad1982
sha256
507dd03c237c7a35bb61d09ad2960475417c99b29ba0d736212b7ff5f0fd79ae
=== Contributing to Ipsum ===

Ipsum is developed on GitHub, at https://github.com/WordPress/ipsum, until its 1.0 release. Changes made there are synced to WordPress core, so until then, please open issues and pull requests in that repository. After 1.0, the GitHub repository is archived, and contributions go through Trac, https://core.trac.wordpress.org, like for the other bundled themes.

= Minifying CSS =

Ipsum has a single stylesheet `style.css` which is enqueued in addition to the global styles coming from core. On a normal production site, when `SCRIPT_DEBUG` is disabled, then the minified version `style.min.css` will be enqueued instead. If you make a change to `style.css`, you'll need to re-minify the `style.min.css` using the built-in npm build tool. As always, it is preferable to use the Site Editor to supply Additional CSS instead of directly editing the theme stylesheet.

Installation instructions

1. Using a command line interface, go to the “ipsum” directory `cd /my-computer/local-wordpress-install/src/wp-content/themes/ipsum`.

2. Type `npm install` into the command line, and press the [return] key, to install all Node.js dependencies.

3. The dependencies may take a few minutes to download but once it completes, you’re done.

Usage instructions

1. After making a change to the `style.css` file, run `npm run build` from within the theme directory to regenerate `style.min.css` with your new changes.

2. You can also “watch” the theme directory for CSS changes and re-minify the CSS anytime a change occurs by running: `npm run watch`.

The same content is in 3 releases, WordPress 7.2-RC1 to 7.2-RC3. See them all, or every version of this file.