![]() |
4 år sedan | |
---|---|---|
.github | 4 år sedan | |
affinity | 4 år sedan | |
altofocus | 4 år sedan | |
alves | 4 år sedan | |
apostrophe-2 | 4 år sedan | |
balasana | 4 år sedan | |
barnsbury | 4 år sedan | |
blank-canvas | 4 år sedan | |
blank-canvas-blocks | 4 år sedan | |
brompton | 4 år sedan | |
button-2 | 4 år sedan | |
calm-business | 4 år sedan | |
canard | 4 år sedan | |
coutoire | 4 år sedan | |
dalston | 4 år sedan | |
dara | 4 år sedan | |
dyad-2 | 4 år sedan | |
elegant-business | 4 år sedan | |
exford | 4 år sedan | |
friendly-business | 4 år sedan | |
gazette | 4 år sedan | |
hever | 4 år sedan | |
ibis | 4 år sedan | |
illustratr | 4 år sedan | |
independent-publisher-2 | 4 år sedan | |
intergalactic-2 | 4 år sedan | |
ixion | 4 år sedan | |
karuna | 4 år sedan | |
leven | 4 år sedan | |
libre-2 | 4 år sedan | |
libretto | 4 år sedan | |
lodestar | 4 år sedan | |
mayland | 4 år sedan | |
mayland-blocks | 4 år sedan | |
maywood | 4 år sedan | |
modern-business | 4 år sedan | |
morden | 4 år sedan | |
penscratch-2 | 4 år sedan | |
photos | 4 år sedan | |
pique | 4 år sedan | |
professional-business | 4 år sedan | |
publication | 4 år sedan | |
radcliffe-2 | 4 år sedan | |
rebalance | 4 år sedan | |
redhill | 4 år sedan | |
rivington | 4 år sedan | |
rockfield | 4 år sedan | |
scratchpad | 4 år sedan | |
seedlet | 4 år sedan | |
seedlet-blocks | 4 år sedan | |
shawburn | 4 år sedan | |
shoreditch | 4 år sedan | |
sketch | 4 år sedan | |
sophisticated-business | 4 år sedan | |
spearhead | 4 år sedan | |
stow | 4 år sedan | |
stratford | 4 år sedan | |
textbook | 4 år sedan | |
toujours | 4 år sedan | |
varia | 4 år sedan | |
.gitignore | 4 år sedan | |
.sandbox-ignore | 4 år sedan | |
.stylelintrc.json | 4 år sedan | |
.wp-env.json | 4 år sedan | |
LICENSE | 5 år sedan | |
README.md | 4 år sedan | |
composer.json | 4 år sedan | |
composer.lock | 4 år sedan | |
dotorg-exclude.txt | 4 år sedan | |
package-dotorg.sh | 4 år sedan | |
package-lock.json | 4 år sedan | |
package.json | 4 år sedan | |
phpcs.xml.dist | 4 år sedan | |
pre-commit-hook.js | 4 år sedan | |
sandbox.sh | 4 år sedan |
These themes are maintained by the Automattic Theme Team.
Before submitting your issue, make sure it has not been discussed earlier. You can search for existing tickets here.
Here are some tips to consider and to help you write a great report:
Found a bug you can fix? Fantastic! Patches are always welcome. Here are a couple tips for crafting a great pull request:
By contributing code to our free themes, you grant its use under the GNU General Public License v2 (or later).
git clone git@github.com:Automattic/themes.git
update/#1889
git checkout update/#1889
/tree/
part of the branch's URL to archive
, and add a .zip
to the end to download a zip of the branch. e.g. https://github.com/Automattic/themes/tree/update/%231889
would become https://github.com/Automattic/themes/archive/update/%231889.zip
Note: In case the affected theme already exists on the WordPress site, it needs to be deleted before the theme zip file gets uploaded.
Themes code should adhere to the WordPress coding standards. This repo contains a pre-commit hook which enables you to detect and fix code that doesn't follow the standards.
To set this up follow these instructions:
npm i
in the root of the repo.composer install
Now when you commit changes to a file PHPCBF will attempt to fix any issues with the file.
This will also install the WordPress-standard Prettier Configuration which can (optionally) be used in your IDE or command-line to format your code via (Prettier)[https://prettier.io/docs/en/editors.html].
The code in this repository mirrors the code needed for the theme to function correctly on WordPress.com. To prepare a theme.zip that passes the WordPress.org theme review automated test, do the following:
./package-dotorg.sh [theme-slug]
Note that this script rebuilds the theme to strip it of .com-specific functionality, and discards any changes via git after doing so. Make sure you have committed any working changes before running this script.
If you use a sandbox to test or develop your themes you can use a couple of utilities to operate on that sandbox.
From the top-level directory, run ./sandbox.sh clean
to bring the public themes SVN repository to a clean state. (This will only matter if your sandbox uses SVN such as how WordPress.com is currently managed.) Alternately you can trigger that as an npm script: npm run sandbox:clean
From the top-level directory, run ./sandbox.sh push
to push your working copy to the public themes folder of your sandbox. Alternately you can trigger this as an npm script: npm run sandbox:push
This command will rsync your local copy with the exception of anything in the .sandbox-ignore
file. You should clean your sandbox before pushing any changes to it.
NOTE: When pushing changes if your local branch is not current with /trunk you will be prompted to choose an option:
In addition to pushing your local changes you can also WATCH for any local changes and trigger the sandbox sync by using the npm run sandbox:watch
Any changes to your local files will trigger the rsync. Make sure that you have executed npm install
to ensure the needed dependencies for this are installed.
Note: The first time you run the sandbox.sh
shell script you will be prompted for details about your sandbox which will be stored in a .sandbox-config
file. Edit (or delete and be re-prompted) if details about your sandbox change. This file will not be comitted to version controll and will not sync to your sandbox.