Installing plugins and content

This is step 6 of our onboarding guide to becoming a reviewer

Top ↑

Plugins

Plugins for automated checking against the WordPress Theme Review Coding Standards and requirements are essential for the review.

The plugins can not replace a manual review, but they can help us do better and faster reviews.

Plugins catches things that we did not see, things we forgot to check, and gives us hints for things that may or may not be a problem.

If these plugins shows that there are errors in the theme, the errors need to be confirmed manually.

Example error report:

Theme Check error report.

Our second pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party, the Theme SnifferTheme Sniffer Theme Sniffer is a plugin utilizing custom sniffs for PHP_CodeSniffer that statically analyzes your theme and ensures that it adheres to WordPress coding conventions, as well as checking your code against PHP version compatibility. The plugin is available from GitHub. Themes are not required to pass the Theme Sniffer scan without warnings or errors to be included in the theme directory., is recommended for users who are familiar with PHPCSPHP Code Sniffer PHP Code Sniffer, a popular tool for analyzing code quality. The WordPress Coding Standards rely on PHPCS. and the WordPress coding standardsWordPress Coding Standards The Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards as published in the WordPress Coding Standards Handbook. May also refer to The collection of PHP_CodeSniffer rules (sniffs) used to format and validate PHP code developed for WordPress according to the PHP coding standards.. The plugin can be downloaded from GitHub.


Top ↑

Example content

We also need some content on our test install to be able to test how the theme handles posts, pages, widgets and comments.

The Theme Unit Test is an .xml file meant to be imported via the built in WordPress import tool.

Note:
The instructions on the codex page are meant for theme developers who wants to test their themes.
As a reviewer, you do not need to follow each step listed on the codex page.

Download the file and import the content to your test install. Remember to import the images.

The Theme Unit Test Codex page: https://codex.wordpress.org/Theme_Unit_Test

The Theme Unit test on GithubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/: https://github.com/WPTT/theme-unit-test

Last updated: