From the course: WordPress: Customizing WooCommerce Themes

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Hooks and templates

Hooks and templates - WordPress Tutorial

From the course: WordPress: Customizing WooCommerce Themes

Start my 1-month free trial

Hooks and templates

- [Narrator] Up until this point, we've mostly focused on selecting a theme and customizing it with CSS. We can do a lot with CSS but it isn't the only tool we'll need to customize a theme. You'll likely want to make structural changes to a theme. You might want to rearrange the elements on the single product page. Or you might want to add information to the shop page. Or maybe you want to change how many products display on the shop page. Unfortunately, CSS can't help with these types of changes and we'll need to use two other tools. The first tool is Templates, if you've built a WordPress Theme before, you'll likely have created or edited Templates to control how a page looks. They contain HTML, CSS and a bit of PHP. WooCommerce also has Templates and they can be overridden similar to how you override a WordPress Template. You should use a Template if you want to change the mark up. That includes HTML tags, HTML Attributes and the classes assigned to each tag. The second tool to…

Contents