'; locate_template( 'wc-content-top.php', true ); } public function theme_wrapper_bottom() { //echo ''; locate_template( 'wc-content-bottom.php', true ); } /** * Fixes pagination query issues in WooCommerce < 2.3 * * NOTE: Says "fixed with 2.2.3", but does still appear in WooCommerce 2.2.11 */ public function fix_pagination( $args = array() ) { $return = $args; //if( !empty( $enable_fix ) && substr( WC_VERSION, 0, 1 ) == '2' && intval(substr( WC_VERSION, 2, 1 ) ) < 3 ) { //if( defined( 'WC_VERSION' ) ) { $return['base'] = esc_url( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', htmlspecialchars_decode( get_pagenum_link( 999999999 ) ) ) ) ); $return['base'] = esc_url_raw( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ); //} return $return; } } if( class_exists( 'WooCommerce' ) ) : add_action('init', array( 'cc2_WooCommerce_Support', 'get_instance' ) ); endif; endif; // end class_exists