In this course, you'll learn how to work with template parts in a WordPress theme. I'll show you how to create them and how to call them from your theme template files.
[MUSIC] Hello and welcome to this Tuts+ Coffee Break course on template parts in WordPress. My name's Rachel McCollin and in this course I'm gonna show you how to create template parts in your theme. We'll take this code from our single template file and we'll move it to a new file. We'll then use this get_template_part function to call it from our theme template file. As well as that, I'll show you how you can call other template parts within your theme such as the header. Watch this course to learn all about template parts.Back to the top