Summary

In this chapter, I've shown you all the basics of WordPress plugin development: adding options forms, creating template tags and shortcodes, checking user capabilities, filtering content, and adding your own functions to action hooks. I've also gone over the process of publishing a plugin on WordPress Extend, including how to create a readme.txt file, localize your plugin, and upload it using Subversion.

While I have by no means shown you everything you will ever need to know about writing plugins for WordPress, I hope I have given you a solid foundation for further research. As always, the Codex should be your first stop when you need to find a function or look up an action hook. If the relevant Codex is incomplete—and I'm sorry to say the end-user documentation is far more complete than that for developers—try searching the forums, Google, the PHPdocs, and the Xref documentation.

In this chapter, I've shown you very briefly how to check for users' capabilities in your plugins. In the next chapter, you'll learn all about the built-in roles and capabilities in WordPress. You'll also learn how to change them to suit your needs.

Creating And Writing Your Blog

Creating And Writing Your Blog

The success of a blog lies in the content. It is the content and the key words that consistently attract potential customers. Great blog content literally means something different on every blog. Great blog content is researched and not impulsive. You cannot treat the blog as an experimental playground and expect it to work for you. It is designed to mean business and make you presence felt online and you have to ensure it performs the way you want it to.

Get My Free Ebook


Post a comment