twentyfourteen compat. closes #4272
This commit is contained in:
parent
0c952a1587
commit
c22ebcc7ae
File diff suppressed because one or more lines are too long
|
@ -324,4 +324,11 @@
|
|||
margin-right: 54px;
|
||||
}
|
||||
}
|
||||
.full-width {
|
||||
.twentyfourteen {
|
||||
.tfwc {
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -35,7 +35,7 @@ class WC_Admin_Notices {
|
|||
|
||||
$template = get_option( 'template' );
|
||||
|
||||
if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( $template, array( 'twentythirteen', 'twentyeleven', 'twentytwelve', 'twentyten' ) ) ) {
|
||||
if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( $template, array( 'twentyfourteen', 'twentythirteen', 'twentyeleven', 'twentytwelve', 'twentyten' ) ) ) {
|
||||
|
||||
if ( ! empty( $_GET['hide_woocommerce_theme_support_check'] ) ) {
|
||||
update_option( 'woocommerce_theme_support_check', $template );
|
||||
|
|
Loading…
Reference in New Issue