Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

PHP for WordPress

via LinkedIn Learning

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Want to modify default behaviors and build plugins and themes for your WordPress site? This course equips you with the basic PHP skills you need to get started.

Syllabus

Introduction
  • What is PHP for WordPress?
  • What you should know
  • Setting up a local environment
1. PHP Basics
  • What is PHP?
  • Printing information
  • What are variables?
  • Strings in PHP
  • Using arrays
  • Arithmetic operators and math in PHP
  • Challenge: Perform a mathematic operation and store it
  • Solution: Perform a mathematic operation and store it
2. Control Structures
  • Comparison operators and the truth
  • Logical operators
  • Creating if/else statements
  • Conditional tags in WordPress
  • Loops
  • The Loop in WordPress
  • Challenge: Loop through an array of information
  • Solution: Loop through an array of information
3. Using Functions
  • What are functions?
  • Using functions in WordPress
  • Writing your own functions
  • Challenge: Write your own function to compare two numbers
  • Solution: Write your own function to compare two numbers
4. Working in WordPress
  • The functions file
  • Copying Hello Dolly
  • WP_Query
  • Hooks: Actions and filters
Conclusion
  • Next steps

Taught by

Joe Casabona

Reviews

4.8 rating at LinkedIn Learning based on 352 ratings

Start your review of PHP for WordPress

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.