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
Community Journalism: Digital and Social MediaCardiff University via FutureLearn How To Create a Website in a Weekend! (Project-Centered Course)
State University of New York via Coursera Web Development and Design using Wordpress
California Institute of the Arts via Kadenze How to Build a Chatbot Without Coding
IBM via Coursera AI Chatbots without Programming
IBM via edX