Getting the most from Theme-Check

A simple and easy way to test your theme for all the latest WordPress standards and practices. A great theme development tool!

With the recently tagged version of Theme-Check comes a new feature for reviewers to automatically format the output from the plugin for use in the trac tickets.

It turns this:

WARNING: functions.php. Themes should use add_theme_page()
for adding admin pages.

Line 53: add_plugins_page(__('Theme Options'), __('Theme Options'), 8, basename(__FI

REQUIRED: No content width has been defined. Example:

if ( ! isset( $content_width ) ) $content_width = 900;

Into the following that renders properly in trac tickets:

WARNING: '''functions.php'''. Themes should use add_theme_page()
for adding admin pages.
{{{
Line 53: add_plugins_page(__('Theme Options'), __('Theme Options'), 8, basename(__FI
}}}
REQUIRED: No content width has been defined. Example:
{{{
if ( ! isset( $content_width ) ) $content_width = 900;
}}}

HTML links are also converted.

So how do you enable this? Easy! Just open wp-config.php and add something like the following using any of the standard trac markup

This first sections is always above the theme-check plugins output:

define('TC_PRE', 'Theme Review:[[br]]
- Themes should be reviewed using "define('WP_DEBUG', true);" in wp-config.php[[br]]
- Themes should be reviewed using the test data from the Theme Checklists (TC)
-----
');

This second sections is always below the main output:

define('TC_POST', '
-----
General Observations:[[br]]
-----
Overall: RESULT[[br]]
* Additional review may be required once the above issues are resolved.[[br]]
[[br]]
Again, this is not a complete review. The Theme may have other issues that do
not meet the Theme Review Guidelines.[[br]]
* Theme Review - [http://codex.wordpress.org/Theme_Review Theme_Review][[br]]
* Theme Unit Checklist - [http://codex.wordpress.org/Theme_Unit_Test Theme_Unit_Test][[br]]
* Theme Development - [http://codex.wordpress.org/Theme_Development Theme_Development][[br]]
[[br]]
Once the points above have been addressed appropriately using the available
information found at the links above; please thoroughly review your theme and
re-submit it using the uploader tool: http://wordpress.org/extend/themes/upload/
... this will generate a new Trac ticket.[[br]]
[[br]]
NB: Re-submitted Themes are given review priority over new Themes that have not
been reviewed yet.[[br]]
[[br]]
Also note, to preserve your queue position if you upload a new revision to the
theme before the current Trac ticket has been resolved:[[br]]
1. Note the "new" ticket number of the revision.[[br]]
2. Go to the oldest *open* ticket for your theme.[[br]]
3. Add a comment to the *open* ticket with a link to the "new" ticket.[[br]]
4. The next review should take this into consideration.[[br]]
[[br]]
Feel free to make use of the contact details below if you have any questions,
comments, or feedback:[[br]]
[[br]]
* Leave a comment on this ticket[[br]]
* Send an email to the Theme Review email list[[br]]
* Use the #wordpress-themes IRC channel on Freenode
-----
Test Environment:[[br]]
!WordPress Theme Reviews by pross[[br]]
 * !WordPress Version: 3.1[[br]]
 * PHP version: ' . phpversion() . '[[br]]
 * Multisite Enabled: No[[br]]
 * Current User Role: administrator[[br]]
');

To enable this new feature add either of the above vars.

Getting the most from Theme-Check

1.2.1 folding-stats-plus

OK so here it is!

1.2.1 includes a lot of new stuff!

There is now a default css file included which controls the div sizes etc, its called folding-def.css to use you own custom css copy the file to your theme directory and rename it to folding.css, the plugin will look for this file first before falling back to the default.

As usual get the latest version from here: http://wordpress.org/extend/plugins/folding-stats-plus/

1.2.1 folding-stats-plus