dev-resources.site
for different kinds of informations.
WooCommerce Category Title with page number
Published at
9/17/2024
Categories
wordpress
woocommerce
webdev
Author
snippflow
Author
9 person written this
snippflow
open
If you have more products in a given category and you display several products on a page with pagination enabled then SEO specialists recommend the page title to be unique, and this snippet add the page number to the title.
Category Title page 1
Category Title page 2
Category Title page 3
β¦
`/* ------------------------------------------- */
// Snippflow Category Title with page number //
/* -------------------------------------------- */
add_filter( 'woocommerce_page_title', 'custom_woocommerce_page_title' );
function custom_woocommerce_page_title( $page_title ) {
if ( function_exists( 'is_product_category' ) && is_product_category() && is_paged() ) {
$current_page = get_query_var( 'paged' );
$page_title .= ' page '. $current_page;
}
return $page_title;
}`
Full article: WooCommerce Category Title with page number
WooCommerce Snippets
woocommerce Article's
30 articles in total
AI Plugins for WooCommerce: A Simple Guide
read article
Hiding WooCommerce Cart when empty by Enqueueing JavaScript
read article
WooCommerce Info Boxes under Add to Cart
read article
Import and Export Products in WooCommerce Store: A Complete Guide
read article
I will create wordpress ecommerce website using woocommerce
read article
Top WooCommerce Development Company Service
read article
π WordPress Trends 2025: Transforming Industries, One Solution at a Time
read article
Apirone announces updates to WooCommerce plugin
read article
AI-Powered Features in Upcoming CMS for WooCommerce
read article
Weekend Hustle
read article
Custom Inventory Management System Using VBA: A Cost-Effective Solution for Small Businesses
read article
Best WooCommerce Integrations
read article
Elevating Your Hospitality Business with WordPress Theme
read article
AI Image Enhancer: How AI Tools Scale Up WooCommerce Store
read article
Create an Engaging WooCommerce Product Catalog
read article
Top 5 Benefits of Building a WooCommerce Store with a CMS
read article
Essential WooCommerce Plugins for Smarter Store Management
read article
Price Based on Country for WooCommerce
read article
The WordPress Drama Won't Kill Your Business. Here's Why.
read article
Top Benefits of Using Affiliate Marketing in WooCommerce
read article
E-commerce Development: How to Choose the Right Platform to Build Your Online Store
read article
A Powerful Tool for WordPress Developers
read article
The Ultimate Guide to WooCommerce Maintenance"
read article
A Comprehensive Guide to WooCommerce User Roles: Managing Access and Capabilities in Your Online Store
read article
Why Developing a WooCommerce Plugin Can Boost Your Online Store
read article
Why WordPress is the Best CMS Platform: A Software Developerβs Perspective :
read article
Protect Your WooCommerce Store with This Essential Security Checklist
read article
How To Bulk Edit Product Recommendations in WooCommerce
read article
WooCommerce Category Title with page number
currently reading
Using Headless Woo commerce store api v1 in nextjs : issue faced and solutions
read article
Featured ones: