Conditional tags are a powerful tool with which you can make your themes and plugins behave differently under different conditions. With conditional tags, you can cut down on the number of different templates in your theme. You can also make your plugin logic more straightforward.
In this course, you'll learn all about conditional tags in WordPress: what they are and how to use them. Along the way, you'll get to practice using conditional tags in a simple plugin.
Do you want to learn WordPress development from start to finish? Check out our learning guide: Learn WordPress Development.
1.WordPress Coding Basics: Conditional Tags2 lessons, 10:36
2 lessons, 10:36
1.1Introduction00:35
1.1
Introduction
00:35
1.2WordPress Coding Basics: Conditional Tags10:01
1.2
WordPress Coding Basics: Conditional Tags
10:01
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.