In System Status -> Templates make sure to look for template overrides in parent theme as well.
This commit is contained in:
parent
90ba359ef9
commit
c93a11cff2
|
@ -456,7 +456,11 @@
|
||||||
foreach ( $files as $file ) {
|
foreach ( $files as $file ) {
|
||||||
if ( file_exists( get_stylesheet_directory() . '/' . $file ) ) {
|
if ( file_exists( get_stylesheet_directory() . '/' . $file ) ) {
|
||||||
$found_files[ $plugin_name ][] = '/' . $file;
|
$found_files[ $plugin_name ][] = '/' . $file;
|
||||||
} elseif( file_exists( get_stylesheet_directory() . '/woocommerce/' . $file ) ) {
|
} elseif ( file_exists( get_stylesheet_directory() . '/woocommerce/' . $file ) ) {
|
||||||
|
$found_files[ $plugin_name ][] = '/woocommerce/' . $file;
|
||||||
|
} elseif ( file_exists( get_template_directory() . '/' . $file ) ) {
|
||||||
|
$found_files[ $plugin_name ][] = '/' . $file;
|
||||||
|
} elseif( file_exists( get_template_directory() . '/woocommerce/' . $file ) ) {
|
||||||
$found_files[ $plugin_name ][] = '/woocommerce/' . $file;
|
$found_files[ $plugin_name ][] = '/woocommerce/' . $file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue