3h 51m – Intermediate
In WordPress: Creating Custom Widgets and Plugins with PHP, Drew Falkman teaches PHP developers how to create custom functionality for WordPress 2.0 through 3.0 using widgets and plugins. This course starts by installing and setting up WordPress 3.0 on both Mac and Windows, then provides an in-depth look at tasks related to these WordPress add-ons: installing and administering, building and customizing, creating editable options and database tables, working with posts and pages, and utilizing jQuery and AJAX. There are also tutorials dedicated to promoting a widget or plugin, adding security, and localizing the interface. Exercise files are included with the course.
Topics include:
Installing WPI and MAMP server solutions
Administering WordPress plugins
Introducing hooks
Writing the PHP for a plugin
Using template tags and shortcode
Building a new widget
Creating an admin interface
Accessing the WordPress database
Using jQuery and AJAX for posts and pages
Registering and promoting plugins
Introduction – 1m 49s
Welcome – 1m 16s
Using the exercise files – 33s
1. Getting Started – 23m 29s
WordPress overview – 2m 32s
Installing WPI for Windows – 3m 42s
Installing MAMP for the Mac – 3m 25s
Installing and configuring WordPress – 5m 51s
Comparing WordPress 3.0 with previous versions – 2m 57s
Setting up a PHP/WordPress development environment – 5m 2s
2. Understanding WordPress Plugin Basics – 14m 47s
Exploring WordPress plugins – 3m 42s
Administering plugins from the WordPress admin – 5m 23s
Exploring where plugins reside – 2m 51s
Introduction to hooks – 2m 51s
3. Building a WordPress Plugin – 39m 28s
Creating the plugin PHP file(s) – 3m 12s
More on hooks: Actions and filters – 3m 15s
Installation and activation – 4m 6s
Writing activation code – 3m 45s
Writing an action – 5m 12s
Writing a filter – 4m 15s
About pluggable functions – 2m 1s
Writing a pluggable function – 5m 30s
Using template tags – 2m 46s
Introducing shortcode – 5m 26s
4. Using and Creating WordPress Widgets – 26m 2s
Widgets and the WordPress Widgets SubPanel – 2m 54s
Comparing widgets and plugins – 1m 8s
Using and customizing built-in widgets – 3m 18s
Creating a new widget – 7m 21s
Writing the constructor and registering widgets – 5m 20s
Enabling configuration of widgets – 6m 1s
5. Plugin Options and Administration – 44m 59s
Creating an admin interface – 5m 25s
Saving data to the database – 5m 39s
Securing form submission with nonces – 2m 25s
Options editing post-WordPress 2.7 – 4m 8s
Integrating with the WordPress admin menus – 3m 34s
WordPress admin dashboard API – 4m 5s
Using existing options and option editing pages in WordPress – 5m 19s
Using jQuery and AJAX for administration – 14m 24s
6. Using the WordPress Database – 27m 13s
Accessing the WordPress database – 5m 45s
Using the built-in schema – 2m 21s
Accessing data using $wpdb – 5m 15s
Creating new tables – 7m 18s
Inserting data – 6m 34s
7. The Loop, Posts, and Pages – 26m 27s
Introducing the Loop – 6m 22s
Using WP_Query() – 3m 11s
Custom filtering and sticky posts – 4m 58s
Using jQuery and AJAX for posts and pages – 11m 56s
8. The WordPress Plugin Lifecycle – 12m 9s
Registering and promoting plugins – 2m 28s
Creating an uninstall function – 5m 53s
Backward compatibility issues – 3m 48s
9. Security and Extensibility – 15m 3s
Understanding security issues – 11m 20s
Internationalizing your plugin – 3m 43s
Conclusion – 18s
Goodbye – 18