$posts_per_page, 'orderby' => $orderby, 'columns' => $columns ));}if (!function_exists('zone_woocommerce_page_title')) { /** * woocommerce_page_title function. * * @param boolean $echo * @return string */ function zone_woocommerce_page_title() { if (is_search()) { $page_title = sprintf(__('Search Results: “%s”', 'zone'), get_search_query()); if (get_query_var('paged')) $page_title .= sprintf(__(' – Page %s', 'zone'), get_query_var('paged')); } elseif (is_tax()) { $page_title = single_term_title("", false); } elseif (is_archive()) { $page_title = __('Archives Products', 'zone'); } elseif (is_single()) { $page_title = __('Single Product', 'zone'); } else { $shop_page_id = wc_get_page_id('shop'); $page_title = get_the_title($shop_page_id); } return $page_title; }}if (!function_exists('zone_woocommerce_breadcrumb_defaults')) { /** * Output the WooCommerce Breadcrumb * * @access public * @return void */ function zone_woocommerce_breadcrumb_defaults($args = array()) { global $zone_smof_data; $delimiter = isset($zone_smof_data['qtc_product_breadcrumb_delimiter']) ? $zone_smof_data['qtc_page_breadcrumb_delimiter'] : '/'; $args['delimiter'] = ' ' . $delimiter . ' '; return $args; }}if (!function_exists('woocommerce_breadcrumb')) { /** * Output the WooCommerce Breadcrumb. * * @param array $args */ function woocommerce_breadcrumb($args = array()) { $args = wp_parse_args($args, apply_filters('woocommerce_breadcrumb_defaults', array( 'delimiter' => ' / ', 'wrap_before' => '', 'before' => '', 'after' => '', 'home' => _x('Home', 'breadcrumb', 'zone') ))); $breadcrumbs = new WC_Breadcrumb(); if (!empty($args['home'])) { $breadcrumbs->add_crumb($args['home'], apply_filters('woocommerce_breadcrumb_home_url', home_url())); } $args['breadcrumb'] = $breadcrumbs->generate(); wc_get_template('global/breadcrumb.php', $args); }}if (!function_exists('zone_woocommerce_sharing')) { function zone_woocommerce_sharing() { global $product; $permalink = $product->post->guid; $title = $product->post->post_title; $content = '
Facebook Twitter Google+
'; echo $content; }}/* Custom add to cart style 2 */if (!function_exists('woocommerce_template_loop_add_to_cart_2')) { /** * Get the add to cart template for the loop. * * @subpackage Loop */ function woocommerce_template_loop_add_to_cart_2($args = array()) { wc_get_template('loop/add-to-cart_2.php', $args); }}function woocommerce_product_loop_tags() { global $post, $product; $tag_count = sizeof(get_the_terms($post->ID, 'product_tag')); echo $product->get_tags(', ', '' . _n('Tag:', 'Tags:', $tag_count, 'zone') . ' ', '.');}function zone_theme_sort_by_page($count) { global $zone_smof_data; $count = 9; if (isset($_GET['tb_sortby'])) { $count = $_GET['tb_sortby']; } elseif (isset($zone_smof_data['qtc_products_per_page'])) { $count = intval($zone_smof_data['qtc_products_per_page']); } // else normal page load and no cookie return $count;}add_filter('loop_shop_per_page', 'zone_theme_sort_by_page', 15); Page not found – Aquamarine Adventure