What is PHP? ★ The thing that makes WordPress work ★ The thing you should know a little bit about if you want to tweak a theme or plugin. ★ PHP: Hypertext Preprocessor
What is PHP? ★ The thing that makes WordPress work ★ The thing you should know a little bit about if you want to tweak a theme or plugin. ★ PHP: Hypertext Preprocessor ★ The easiest way to get started with programming.
What is PHP? ★ The thing that makes WordPress work ★ The thing you should know a little bit about if you want to tweak a theme or plugin. ★ PHP: Hypertext Preprocessor ★ The easiest way to get started with programming. (except maybe JavaScript)
Variables $my_string = 'bar'; // This is a comment. It is ignored. $my_number = 3; $my_array = array('one', 'two', 'ten'); $my_boolean = true; /* Now you've seen 4 types of data */
Comparisons $a == $b // Equal $a != $b // Not equal $a >= $b // $a greater than or equal to $b $a <= $b // $a less than or equal to $b $a > $b // $a greater than $b $a < $b // $a less than $b
Comparisons $a == $b // Equal $a != $b // Not equal $a >= $b // $a greater than or equal to $b $a <= $b // $a less than or equal to $b $a > $b // $a greater than $b $a < $b // $a less than $b /* There are a lot more but that’s all we’ll cover now. */
WordPress Functions ★ Read the Codex: ★ codex.wordpress.org ★ Learn the template hierarchy ★ codex.wordpress.org/Template_Hierarchy ★ Make a child theme to hack on
WordPress Functions ★ Read the Codex: ★ codex.wordpress.org ★ Learn the template hierarchy ★ codex.wordpress.org/Template_Hierarchy ★ Make a child theme to hack on ★ codex.wordpress.org/Child_Themes