- Overview
- Transcript
4.4 If and Else
PHP if and else statements are absolutely critical for WordPress or PHP coding of any kind. In this part of our PHP WordPress tutorial, I'll show you how PHP if and else statements work and how to use them in the WordPress Loop.
1.Introduction1 lesson, 00:58
1 lesson, 00:58
1.1Introduction00:58
1.1
Introduction
00:58
2.WordPress and PHP 2 lessons, 20:34
2 lessons, 20:34
2.1Why WordPress Uses PHP10:00
2.1
Why WordPress Uses PHP
10:00
2.2PHP Coding Standards10:34
2.2
PHP Coding Standards
10:34
3.First Steps With PHP3 lessons, 28:09
3 lessons, 28:09
3.1Create a PHP File07:50
3.1
Create a PHP File
07:50
3.2Mixing HTML and PHP08:46
3.2
Mixing HTML and PHP
08:46
3.3Comments in PHP11:33
3.3
Comments in PHP
11:33
4.Coding in PHP6 lessons, 1:06:20
6 lessons, 1:06:20
4.1WordPress PHP Functions08:46
4.1
WordPress PHP Functions
08:46
4.2Connect PHP Functions to Hooks12:31
4.2
Connect PHP Functions to Hooks
12:31
4.3PHP in the Loop09:32
4.3
PHP in the Loop
09:32
4.4If and Else09:54
4.4
If and Else
09:54
4.5PHP Variables and Arrays13:05
4.5
PHP Variables and Arrays
13:05
4.6Outputting Text With PHP12:32
4.6
Outputting Text With PHP
12:32
5.Practical Project: A Custom Archive Page2 lessons, 21:07
2 lessons, 21:07
5.1Registering a Custom Post Type and Taxonomy11:15
5.1
Registering a Custom Post Type and Taxonomy
11:15
5.2Creating a Custom Query09:52
5.2
Creating a Custom Query
09:52
6.Conclusion1 lesson, 03:28
1 lesson, 03:28
6.1Conclusion03:28
6.1
Conclusion
03:28
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.