PHP for WordPress
Offered By: LinkedIn Learning
Course Description
Overview
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
- 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
- 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
- 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
- The functions file
- Copying Hello Dolly
- WP_Query
- Hooks: Actions and filters
- Next steps
Taught by
Joe Casabona
Related Courses
Initiation à la programmation (en Java)École Polytechnique Fédérale de Lausanne via Coursera Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera 計算機程式設計 (Computer Programming)
National Taiwan University via Coursera Code Yourself! An Introduction to Programming
University of Edinburgh via Coursera ¡A Programar! Una introducción a la programación
University of Edinburgh via Coursera