
Master PHP coding standards for WordPress, including function prefixing, underscore and dash usage, quotes handling, closing tags, and clear, readable code with proper comments.
Explore WordPress actions and filters, learn how hooks perform tasks versus how filters modify data before display, and see practical examples using add_action, do_action, and apply_filters.
Explore the WordPress loop, a function that iterates posts and outputs title, thumbnail, content, category, and date using template parts. Customize with conditional tags and custom post types like movies.
Discover how JavaScript powers WordPress across themes, plugins, and the back end, including Calypso and the Rest API, with PHP publishing changes after JavaScript-driven edits.
Explore a slightly more advanced JavaScript example that uses constants num one and num two, computes sum, and displays the result with console.log and string concatenation.
Learn two ways to add JavaScript to WordPress: using a plugin like Insert Headers and Footers, or editing via functions.php in a child theme.
Welcome to the PHP basics for WordPress course.
This is a beginners course designed for WordPress students who would like to become WordPress developers.
WordPress as a content management system was built with PHP and its most important files as well as those of plugins and themes are coded with the scripting language. As such if you aspire to be a WordPress developer then you must learn the basics of PHP which is exactly what this course provides.
In this course you will learn the following
What exactly PHP is
How PHP is used in databases
How to write PHP code properly
How to combine PHP and HTML in the same file
How to write basic WordPress functions using PHP
How WordPress template tags work
How WordPress Actions and Filters work
How to work with conditional tags and statements
How to work with variables and arrays
How the WordPress loop works
In addition to the above, you will also learn about some of the most important files used by WordPress themes.
Please note that this course is NOT a complete course on PHP but a basic introductory course designed to provide you with just the basic knowledge necessary to start learning about WordPress development.
By the end of this course you would have learned the basics of PHP which would help you progress to learning about WordPress development.