FREELessons: 2Length: 9 minutes
Template parts help you to create more powerful, efficient themes. They also let you reuse your code for common page elements, so you don't have to repeat yourself!
In this Coffee Break Course, Rachel McCollin will teach you how template parts work. Then you'll go on to create some practical template parts and see how to call them from your theme template files.
Do you want to learn WordPress development from start to finish? Check out our learning guide: Learn WordPress Development.
1.WordPress Coding Basics: Template Parts2 lessons, 08:34
2 lessons, 08:34
1.1Introduction00:40
1.1
Introduction
00:40
1.2WordPress Coding Basics: Template Parts07:54
1.2
WordPress Coding Basics: Template Parts
07:54
Rachel McCollin is a WordPress developer who writes books, articles and tutorials about web design and development, with a focus on WordPress and on responsive and mobile development. She runs a web design agency in Birmingham, UK and has published three books on WordPress, including WordPress: Pushing the Limits, an advanced resource for WordPress developers. She's currently writing her fourth book.