I had the same issue, and fixed it by replacing a few lines of code in the file themedrive.php
Start by replacing the green lines with the red lines listed here:
https://github.com/roblandry/theme-test-drive/commit/11f090267f5d1fabdf528a6719cf8855c6c9c0fb
Then, on line 213, replace:
$theme_data = wp_get_theme($theme);
with:
$theme_data = get_current_theme($theme);
I would love to know also!
Brilliant! Works perfectly.
function foo() {
STATIC $i = 0;
$i++;
return $i;
}
add_shortcode('foo','foo');
Nobody with mad shortcode skills?