Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Ultimate Guide to Category Templates for WordPress and WooCommerce

Web Squadron via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
This 37-minute tutorial provides a comprehensive walkthrough of creating and customizing Post and Product Category Templates in WordPress. Learn how to properly assign product categories, build effective product archive templates, implement loop grid queries, and set up display conditions. Discover solutions for common shop page editing issues and understand why category templates are crucial for your e-commerce site. Master the Current Query feature with sorting capabilities using provided code snippets, and implement conditional CSS to display different content based on URL parameters. The video covers practical demonstrations of all concepts, troubleshoots breadcrumb navigation issues, and includes ready-to-use code snippets for sorting queries and modifying breadcrumb links. Perfect for WordPress developers and store owners looking to enhance their product category presentation and user experience.

Syllabus

00:00 Intro
01:07 Assign Product Categories
02:35 Templates
02:57 Build the Products Archive Template Shop
06:29 Loop Grid Query
07:28 Products Archive Display Conditions
08:10 Products Archive Shortcode Not Recommended
08:47 The problem when you try to edit the Shop Page
10:10 Build the Shop Page
12:18 Why you need to consider Category Templates
14:02 Build the Products Category Template
14:54 Current Query
16:29 Products Category Display Conditions
18:20 Why you need sorting for Current Query
18:44 Code Snippet for Sorting the Current Query:
20:47 Why you should consider Details for the Category Template
21:25 Build a New Products Category Template
27:08 Class Names for Hiding Items
27:40 CSS Code for Showing based on the URL:
29:42 New Products Category Display Conditions
30:33 Let’s see it all in action!
32:57 Issue with the Breadcrumb
34:04 Code Snippet for Modifying the Breadcrumb Link:
35:54 Conclusion

Taught by

Web Squadron

Reviews

Start your review of The Ultimate Guide to Category Templates for WordPress and WooCommerce

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.