Beispiel #1
0
 function ci_theme_woo_pages_fullwidth($template)
 {
     $located = get_child_or_parent_file_path('template-page-fixed.php');
     if (woocommerce_enabled() && !empty($located) && (is_cart() || is_checkout() || is_account_page())) {
         return $located;
     }
     return $template;
 }
Beispiel #2
0
 function ci_theme_wc_cart_fullwidth($template)
 {
     $located = get_child_or_parent_file_path('template-fullwidth.php');
     if (woocommerce_enabled() and (is_cart() or is_checkout() or is_account_page()) and !empty($located)) {
         return $located;
     }
     return $template;
 }