Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
Find a file
2022-04-20 14:21:57 -04:00
.github remove label on comment, change order of batches and cronjob schedule (#5878) 2022-04-18 17:10:56 +02:00
.husky Try fixing the husky actions. (#5493) 2022-02-15 11:28:42 +00:00
affinity Add language files from dotcom 2021-06-10 09:42:35 +01:00
altofocus Version Bump 2022-01-13 15:41:34 -05:00
alves Version Bump 2022-03-28 16:51:39 +05:30
ames Version Bump 2022-01-19 09:42:07 +00:00
apostrophe-2 Add language files from dotcom 2021-06-10 09:42:35 +01:00
arbutus Version Bump 2022-01-19 09:42:07 +00:00
archeo Version Bump 2022-04-05 15:53:32 -04:00
attar Version Bump 2022-02-23 11:08:08 +00:00
balasana Version Bump 2022-03-28 16:51:39 +05:30
barnett Version Bump 2022-01-27 12:19:49 +11:00
barnsbury Version Bump 2022-03-28 16:51:39 +05:30
bennett Version Bump 2022-01-21 10:53:45 +11:00
blank-canvas Version Bump 2022-01-18 11:47:49 +00:00
blank-canvas-blocks Version Bump 2022-01-17 12:51:58 -05:00
block-canvas Version Bump 2022-04-05 15:53:32 -04:00
blockbase Version Bump 2022-04-12 11:30:00 -04:00
brompton Version Bump 2022-03-28 16:51:39 +05:30
button-2 Version Bump 2021-12-10 09:24:59 -06:00
calm-business Version Bump 2022-02-08 17:30:42 -05:00
calvin Version Bump 2022-01-19 09:42:07 +00:00
canard Version Bump 2022-01-07 10:15:01 +00:00
coutoire Version Bump 2022-03-28 16:51:39 +05:30
dalston Version Bump 2022-03-28 16:51:39 +05:30
dara Add language files from dotcom 2021-06-10 09:42:35 +01:00
dorna Version Bump 2022-03-01 10:54:57 +11:00
dyad-2 Add language files from dotcom 2021-06-10 09:42:35 +01:00
elegant-business Version Bump 2022-02-08 17:30:42 -05:00
exford Version Bump 2022-03-28 16:51:39 +05:30
farrow Farrow: Initial commit. (#5293) 2022-01-21 11:14:34 +11:00
friendly-business Version Bump 2022-02-08 17:30:42 -05:00
gazette Add language files from dotcom 2021-06-10 09:42:35 +01:00
geologist Version Bump 2022-04-05 15:53:32 -04:00
geologist-blue Version Bump 2022-04-05 15:53:32 -04:00
geologist-cream Version Bump 2022-04-05 15:53:32 -04:00
geologist-slate Version Bump 2022-04-05 15:53:32 -04:00
geologist-yellow Version Bump 2022-04-05 15:53:32 -04:00
hari Version Bump 2022-02-23 11:08:08 +00:00
hever Version Bump 2022-03-28 16:51:39 +05:30
ibis Reverting the mess caused renaming template folders (#5317) 2022-01-13 15:38:55 -05:00
illustratr Add language files from dotcom 2021-06-10 09:42:35 +01:00
independent-publisher-2 Blank Canvas, IP2, Lodestar: Add support for selective refresh widgets 2021-09-03 10:38:04 -04:00
intergalactic-2 Add language files from dotcom 2021-06-10 09:42:35 +01:00
ixion Add language files from dotcom 2021-06-10 09:42:35 +01:00
jackson Version Bump 2022-01-19 09:42:07 +00:00
karuna Version Bump 2022-03-09 14:15:53 +00:00
kingsley Version Bump 2022-01-19 09:42:07 +00:00
leven Version Bump 2022-03-28 16:51:39 +05:30
libre-2 Add language files from dotcom 2021-06-10 09:42:35 +01:00
libretto added some missing .pot files 2021-06-10 09:45:50 +01:00
livro Version Bump 2022-04-20 11:17:43 +01:00
lodestar Blank Canvas, IP2, Lodestar: Add support for selective refresh widgets 2021-09-03 10:38:04 -04:00
marl Version Bump 2022-02-23 11:08:08 +00:00
mayland Version Bump 2022-03-28 16:51:39 +05:30
mayland-blocks Version Bump 2022-04-05 15:53:32 -04:00
maywood Version Bump 2022-03-28 16:51:39 +05:30
meraki Meraki: Initial commit. (#5837) 2022-04-12 11:32:19 -04:00
modern-business Version Bump 2022-02-08 17:30:42 -05:00
morden Version Bump 2022-03-28 16:51:39 +05:30
pendant Pendant: post page spacing (#5886) 2022-04-20 14:21:57 -04:00
penscratch-2 Version Bump 2022-03-02 14:48:06 +05:30
photos Add language files from dotcom 2021-06-10 09:42:35 +01:00
pique Add language files from dotcom 2021-06-10 09:42:35 +01:00
professional-business Version Bump 2022-02-08 17:30:42 -05:00
publication Add language files from dotcom 2021-06-10 09:42:35 +01:00
quadrat Version Bump 2022-04-05 15:53:32 -04:00
quadrat-black Version Bump 2022-04-05 15:53:32 -04:00
quadrat-green Version Bump 2022-04-05 15:53:32 -04:00
quadrat-red Version Bump 2022-04-05 15:53:32 -04:00
quadrat-white Version Bump 2022-04-05 15:53:32 -04:00
quadrat-yellow Version Bump 2022-04-05 15:53:32 -04:00
radcliffe-2 Add language files from dotcom 2021-06-10 09:42:35 +01:00
rebalance Rebalance: version bump (#4759) 2021-10-01 15:54:53 +01:00
redhill Version Bump 2022-03-28 16:51:39 +05:30
remote Version Bump 2022-04-12 15:19:01 +05:30
rivington Version Bump 2022-03-28 16:51:39 +05:30
rockfield Version Bump 2022-03-28 16:51:39 +05:30
russell Version Bump 2022-04-05 15:53:32 -04:00
scratchpad Add language files from dotcom 2021-06-10 09:42:35 +01:00
seedlet Version Bump 2022-02-08 17:30:42 -05:00
seedlet-blocks Version Bump 2022-04-05 15:53:32 -04:00
shawburn Version Bump 2022-03-28 16:51:39 +05:30
shoreditch Version Bump 2022-02-04 19:45:13 +00:00
skatepark Version Bump 2022-04-20 12:18:49 +01:00
sketch Add language files from dotcom 2021-06-10 09:42:35 +01:00
sophisticated-business Version Bump 2022-02-08 17:30:42 -05:00
spearhead Version Bump 2022-02-08 17:30:42 -05:00
stewart Version Bump 2022-04-20 12:32:59 +01:00
stow Version Bump 2022-03-28 16:51:39 +05:30
stratford Version Bump 2022-03-28 16:51:39 +05:30
textbook Add language files from dotcom 2021-06-10 09:42:35 +01:00
toujours Add language files from dotcom 2021-06-10 09:42:35 +01:00
twentytwentytwo-blue Version Bump 2022-02-04 08:26:12 -05:00
twentytwentytwo-mint Version Bump 2022-02-04 08:26:12 -05:00
twentytwentytwo-pink Version Bump 2022-02-04 08:26:12 -05:00
twentytwentytwo-red Version Bump 2022-02-04 08:26:12 -05:00
twentytwentytwo-swiss Version Bump 2022-02-04 08:26:12 -05:00
varia Version Bump 2022-03-28 16:51:39 +05:30
variations Filter files to copy from parent to variation. (#5463) 2022-02-07 09:38:03 -05:00
videomaker Version Bump 2022-04-05 15:53:32 -04:00
videomaker-white Version Bump 2022-04-05 15:53:32 -04:00
winkel Version Bump 2022-03-01 11:17:38 +11:00
zoologist Version Bump 2022-04-05 15:53:32 -04:00
.gitignore Update gitignore (#5310) 2022-01-13 11:22:02 -05:00
.sandbox-ignore Try: Blockbase standalone theme (#5660) 2022-03-17 11:18:33 +01:00
.stylelintrc.json Add stylelint 2021-04-23 18:02:07 +01:00
.wp-env.json Add simple wp-env config file 2021-02-10 12:46:09 -05:00
composer.json Try fixing the husky actions. (#5493) 2022-02-15 11:28:42 +00:00
composer.lock Try fixing the husky actions. (#5493) 2022-02-15 11:28:42 +00:00
create-a-theme-checklist.js Update Create Theme Checklist items (#5697) 2022-03-17 15:29:47 +00:00
deploy-dotorg.sh added Remote to the dotorg deploy list (#5810) 2022-04-13 09:22:05 +02:00
dotorg-exclude.txt Revert "Blockbase: initial dotorg upload version" 2021-06-10 16:26:10 +01:00
LICENSE Add LICENSE to root directory 2020-02-20 08:59:04 +07:00
package-dotorg.sh remove tags for themes that don't build their css (#4877) 2021-10-20 12:12:15 +01:00
package-lock.json Version Bump 2022-04-20 12:32:59 +01:00
package.json Version Bump 2022-04-20 12:32:59 +01:00
phpcs.xml.dist remove i18n check 2020-10-08 09:37:32 +01:00
pre-commit-hook.js test commit 2021-03-31 16:47:01 +01:00
README.md Revise readme (#5717) 2022-03-23 11:10:57 -04:00
theme-batch-utils.sh Update all dependencies and add update script (#5304) 2022-01-14 14:28:12 +00:00
theme-utils.mjs Small tweak cleansing logs of double-quotes (#5853) 2022-04-12 11:17:31 -04:00

Automattic Themes

The development repository for themes maintained by the Automattic Theme Team.

What's Here

We're committed to imagining and creating the future of themes. Our latest themes are block themes — they depend on the latest features available in the Gutenberg plugin. Read about our latest themes built to support full-site editing here.

A gallery of block themes with a variety of styles

Contributing

Issues

Before submitting your issue, please search for an existing or related ticket here.

Here are some tips to consider for writing a useful report:

  • Share steps for replicating the issue.
  • Add screenshots and videos where helpful.
  • Share your environment details, including what version of WordPress and Gutenberg you're using

Code

Patches and ideas in the form of code are always welcome! Here are a couple tips for crafting a great pull request:

  • Include the purpose of your PR. Be explicit about the idea or issue your PR solves.
  • Reference any existing issues that relate to your PR. This allows everyone to easily see all related discussions.

By contributing code to our free themes, you grant its use under the GNU General Public License v2 (or later).

Testing pull requests

Using GitHub

  1. Clone repository locally git clone git@github.com:Automattic/themes.git
  2. Identify the branch of the pull request, e.g. update/#1889
  3. Check out featured branch of pull request, e.g. git checkout update/#1889
  4. Symlink or copy affected theme OR zip affected theme and import into WordPress site

Manually download

  1. Identify and visit the branch of the pull request.
  2. Change the /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
  3. Unzip the zipped featured branch
  4. Zip affected theme and import into WordPress site

Note: In case the affected theme already exists on the WordPress site, it needs to be deleted before the theme zip file gets uploaded.

Coding Standards

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:

  1. Run npm i in the root of the repo.
  2. Run 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].

Packaging for WordPress.org Themes Showcase

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:

  • From the top-level directory, run ./package-dotorg.sh [theme-slug]
  • View the generated zip in the respective theme's sub-directory

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.

Sandbox Tools

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 node ./theme-utils.mjs clean-sandbox to bring the public themes GIT repository to a clean state. (This will only matter if your sandbox uses GIT such as how WordPress.com is currently managed.) Alternately you can trigger that as an npm script: npm run sandbox:clean. npm run sandbox:clean-all will clean the entire sandbox.

  • From the top-level directory, run node ./theme-utils.mjs push-to-sandbox to push your entire working copy to the public themes folder of your sandbox. Alternately you can trigger this as an npm script: npm run deploy:push:all 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. node ./theme-utils.mjs push-changes-to-sandbox or npm run deploy:push:changes alternatively will push only files that have changed since the last deployment.