add_filter( 'woocommerce_page_title', 'add_products_number_to_category_title', 99, 1 );
function add_products_number_to_category_title($title) {
if ( ! is_product_category() ) {
return $title;
}
$products_count = get_queried_object()->count;
return $title . ' (' . esc_html( $products_count ) . ')';
}
Related Posts:
- Hide prices and checkout functionality in woocommerce
- How to Display Product specific to a category with WooCommerce Plugin? [closed]
- Woocommerce hook after creating order? [closed]
- Can’t set proper WooCommerce language translation [closed]
- Function to Set Product type in Woocommerce [closed]
- Updating WooCommerce variable product stock issue
- Add CSS class to add-to-cart button, Woocommerce [closed]
- Remove action from woocommerce barcode plugin [closed]
- Override core woocommerce class
- WooCommerce – Where is functions.php?
- Woocommerce Shipping module available only for type of products [closed]
- WooCommerce – Adding Custom Order Without No Product [closed]
- XML sitemap over product variations
- How to remove the woocommerce_checkout_process action hook in woocommerce if particular project in cart [closed]
- Manually add order item with fixed product_id in WooCommerce
- How can I display a contact form for out of stock products in WooCommerce?
- HTML in WooCommerce settings
- WooCommerce shop page orderby [closed]
- WooCommerce Custom Product to checkout
- Reduce Drop down Menu Width in WordPress
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- How to enable specific plugin only based around shop manager role?
- Why required field not working in Country dropdown in WooCommerce –
- How to modify WCMP Rest API response?
- Woocommerce dependent plugin
- How to check current user before all actions and filters?
- CampaignMonitor for WooCommerce – Move subscribe button [closed]
- Pre booking doesn’t work with custom bootstrap modul in woocommerce [closed]
- Custom Pages for Woocommerce Product-Category Pages
- Woocommerce Minimum Price for a Composite Product to add in cart
- Redirect to another page using contact form 7? [closed]
- Is there a way to get plugins and themes not built for multisite to work on a network subsite?
- How to get a list of bundled products using wp_query in woocommerce
- WooCommerce – set session with new cart item meta when updating cart item quantity [closed]
- How to get the particular product quantity in orders in Woocommerce [closed]
- Conditional Shipping Options if Certain Products are in Cart WooCommerce
- Woocommerce Backend Search by Title and SKU
- WooCommerce Shopping Cart Not Initially Showing Products [closed]
- Woocommerce singe product custom gallery output works just on the first slide
- Remove Pagination for Product Category Pages WooCommerce
- add seperate suffix for low price and high price in woocommerce
- Get products list by url key in WordPress Woocommerce [closed]
- Override a Plugin Function
- Custom template for all woo commerce categories
- Is it possible to instantiate a new WC_Cart?
- Sell access to form [closed]
- Add key and value to an array in another file
- I want to filter my products with attributes [closed]
- How to return a specific attribute
- Automatic recurring payment using YITH subscription and Dokan Stripe
- apply_filters(woocommerce_get_item_data, …) Causing errors when adding to cart
- Change Dashboard URL from wp-admin to wp-admin/index.php
- How To Use do_shortcode with WooCommerce One Page Checkout
- How to makes changes on the shop/category/tag pages but not on the product pages in woocommerce?
- Hide fields in woocommerce settings
- woocommerce: Customize email with item total count
- Save order without sending the invoice / order details woocommerce [closed]
- Optimise wordpress database using SQL after deleting registered images from Media Folder
- is there a way to display product gallery images via cdn
- show wc_add notices on particular page in woo commerce custom plugin development
- Woocommerce redirection if no previous orders
- Make modification of add_to_cart button specific to single page
- How to get the checkout form data from checkout page when place-order button is clicked
- Product Page loads terribly slow when product gallery images are added
- How to make WooCommerce multiple filter with custom meta fields
- One WooCommerce Store to multi distributor sites
- Custom form data not displaying in cart page?
- best way to handle subscriptions with a licence?
- Is there a request for products plugin for WooCommerce
- Checkbox field that add a subscription product and change prices of other products in checkout and cart page
- woocommerce with external ftp site
- Only return taxonomies that are linked to a category & product
- WordPress eMails not working
- Add WooCommerce vendor slug to auto-generated SKU
- Custom plugin issue – Notice: Trying to get property of non-object in
- fetch price from different table woocommerce
- Cannot save a custom meta field in quick edit
- how to make settings page for woocommerce plugin?
- redirect to a custom page
- wordpress plugin translation not working
- Many to many relationship for variable products
- Change value of Points earned in product data
- Problem with conditional woocommerce custom checkout field
- How woo-commerce store Product Data value in DB?
- Not getting result using ajax on wordpress
- woocommerce blank page after clicking add to cart [closed]
- Which WordPress version to use for improved plugin compatibility? [closed]
- Woocommerce Bookings – Resource needs to be allocated for part of the booking duration, not the whole booking
- Turning Existing Eccommerce Site into Multi-SIte
- Trying to disable all notifications except for one on woocommerce checkout page with css [closed]
- Woocommerce – Product Description heading [closed]
- Visual Composer Data Source?
- Hook for single product thumbnail
- Woocommerce where to set the Price Suffix [closed]
- Is there a method or plugin to download my products in WooCommerce?
- Translate text for empty product
- Create Custom Coupon Type
- Update acf field in woocommerce orders
- Add different sizes packaging boxes to orders plugin
- A multi-section WordPress store [closed]