Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryelle/theme-check
Theme Check plugin with a WP-CLI command (see cli branch)
https://github.com/ryelle/theme-check
Last synced: 2 months ago
JSON representation
Theme Check plugin with a WP-CLI command (see cli branch)
- Host: GitHub
- URL: https://github.com/ryelle/theme-check
- Owner: ryelle
- Created: 2014-02-13T15:42:59.000Z (almost 11 years ago)
- Default Branch: cli
- Last Pushed: 2014-10-26T22:03:06.000Z (about 10 years ago)
- Last Synced: 2024-10-04T16:39:20.858Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 268 KB
- Stars: 11
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Theme Check
The theme check plugin is an easy way to test your theme and make sure it's up to spec with the latest [theme review](http://codex.wordpress.org/Theme_Review) standards. With it, you can run all the same automated testing tools on your theme that WordPress.org uses for theme submissions.
[See the readme.txt for the full plugin description.](https://github.com/ryelle/theme-check/blob/cli/readme.txt)
# Theme Check with WP-CLI
wp theme review check
This version of Theme Check adds a [WP-CLI](http://wp-cli.org) command to `wp theme`, to perform the theme check at the command line.
![Theme Check run on a failing theme](http://redradar.net/wp-content/uploads/2014/07/theme-check.png)
wp theme review list
You can also list the themes, which shows the display name and folder name for each theme in the site. The check command expects the folder name, so this is helpful to grab the correct name.
![Theme list](http://redradar.net/wp-content/uploads/2014/07/theme-list.png)
# Grunt Task
With this version of Theme Check, you can also use my grunt task, [wp_theme_check](https://github.com/ryelle/grunt-wp-theme-check) to automate testing your theme as you build.