Merge pull request #3730 from lucanos/master

Added "Demo Store" Class to Body
This commit is contained in:
Mike Jolley 2013-09-06 02:16:09 -07:00
commit b147146339
1 changed files with 4 additions and 0 deletions

View File

@ -174,6 +174,10 @@ function wc_body_class( $classes ) {
$classes[] = 'woocommerce-page';
}
if ( get_option( 'woocommerce_demo_store' ) != 'no' ) {
$classes[] = 'woocommerce-demo-store';
}
return array_unique( $classes );
}