Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:2Length:9 minutes

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

1.1 Introduction

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.

1.WordPress Coding Basics: Template Parts
2 lessons, 08:34

Free Lesson
1.1
Introduction
00:40

1.2
WordPress Coding Basics: Template Parts
07:54


1.1 Introduction

[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