Summary

We have created a total of seven files to build this plugin:

  • includes/admin_page.php
  • includes/ContentRotator.php
  • includes/ContentRotatorWidget.php
  • index.php
  • tpls/readme.txt
  • tpls/widget.tpl
  • tpls/widget_controls.tpl

If you made it to this point, give yourself a pat on the back. You've now created your first widget along with a custom manager page. These are important tools to have in your toolbox as you continue to develop WordPress plugins.

When you're ready, let's move on to the next chapter, in which we will explore WordPress' capabilities as a content management system by utilizing custom fields.

Get WordPress 3 Plugin Development Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.