WordPress: Creating Custom Widgets and Plugins with PHP

with Drew Falkman
please wait ...
WordPress: Creating Custom Widgets and Plugins with PHP
Video duration: 0s 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
Developer Web


Hi! I am Drew Falkman, and I am going to show you how to develop custom plugins and widgets for WordPress. In the last few years, the powerful open-source WordPress software has become popular, not just for basic blogs, but for full-blown interactive web environments, all made possible by WordPress's Plugin and Widget interfaces. In this course, we are going to look at exactly what it takes to build plugin and widgets for WordPress. Using the WordPress Widget application programming interface, we can build our own widgets, little windows of functionality, both for use on the front-end of WordPress sites and in the administrative console.

We'll also look at hooks in the form of actions and filters that we can use to plug our own bits of code into WordPress. This code can interact with post data, talk to the WordPress database, add new pages into the WordPress admin, and can extend functionality in many other parts of WordPress. As we go through the process of building our own custom plugins and widgets, we'll explore just how to access the inner workings of WordPress, to learn how it can work for you. As a long-time web developer and blogger, I will share with you what I've learned about customizing my own sites and the sites of my clients.

So let's dive into WordPress and get started building our own plugins and widgets.

Find answers to the most frequently asked questions about WordPress: Creating Custom Widgets and Plugins with PHP .

Expand all | Collapse all
please wait ...
Q: Do I need a web hosting service for this course?
A: You don't need a hosting site to do any testing or development work that’s covered in this course. However, if you want to have your WordPress site available to the public, you will most definitely need a WordPress site. If you are hosting with an independent company, they will need to have PHP and MySQL installed, and there will be some configuration differences, but basically, you can upload anything on your local version to the web site. If you are hosting with Wordpress.com, you will need to add your plugins by uploading them manually through the WP Admin Plugin screen.
please wait ...