As one of the most popular open source content management systems available today, WordPress boasts a framework that allows you to easily customize and extend it through plugins. This comprehensive book shows you how plugins work, reviews the tools and APIs available in WordPress, and demonstrates how to extend the functionality of WordPress with plugins.
The trio of established authors provides a practical, solutions-based approach along with a collection of timely examples and plenty of code, all aimed at clearly explaining how to create a plugin file, work with users, integrate widgets, add menus and submenus, secure your plugins, and more. You will quickly come to understand how to develop custom plugins so that you can take WordPress to the next corporate and enterprise level.
Professional WordPress Plugin Development:
- Details the range of complexity in plugins, from a very simple plugin to an extremely elaborate social network package
- Addresses how to integrate into WordPress, save settings, create widgets and shortcodes, and implement uninstall
- Learn the proper techniques for storing data, customizing user roles, and security best practices
- Shares techniques for using custom post types and creating and using custom taxonomies
- How to create plugins for WordPress Multisite networks
- Integrate user and role management
From the Author
WHO THIS BOOK IS FOR
This book is for professional Web developers who want to make WordPress work exactly how they and their clients want. WordPress has already proven an exceptional platform for building any type of site from simple static pages to networks of full - featured communities. Learning how to code plugins will help you get the most out of WordPress and have a cost - effective approach to developing per - client features.
This book is also for the code freelancers who want to broaden their skill portfolio, understand the inner - workings of WordPress functionality, and take on WordPress gigs. Since WordPress is the most popular software to code and power websites, it is crucial that you understand how things run under the hood and how you can make the engine work your way. Learning how to code plugins will be a priceless asset to add to your resume and business card.
Finally, this book is for hobbyist PHP programmers who want to tinker with how their WordPress blog works, discover the infi nite potential of lean and fl exible source code, and how they can interact with the fl ow of events. The beauty of open source is that it ' s easy to learn from and easy to give back in turn. This book will help you take your fi rst step into a community that will welcome your creativity and contribution.
From the Inside Flap
- Chapter 1 An Introduction to Plugins
- Chapter 2 Plugin Foundation
- Chapter 3 Hooks
- Chapter 4 Integrating in WordPress
- Chapter 5 Internationalization
- Chapter 6 Plugin Security
- Chapter 7 Plugin Settings
- Chapter 8 Users
- Chapter 9 HTTP API
- Chapter 10 The Shortcode API
- Chapter 11 Extending Posts: Metadata, Custom Post Types, and Taxonomies
- Chapter 13 Cron
- Chapter 14 The Rewrite API
- Chapter 15 Multisite
- Chapter 16 Debugging and Optimizing
- Chapter 17 Marketing Your Plugin
- Chapter 18 The Developer Toolbox
From the Back Cover
Take WordPress to the next level with advanced plugin development
As one of the most popular open source content management systems available today, WordPress boasts a framework that allows you to easily customize and extend it through plugins. This comprehensive book shows you how plugins work, reviews the tools and APIs in WordPress, and demonstrates how to extend the functionality of WordPress with plugins. The trio of authors provides a practical, solutions-based approach along with a collection of timely examples and plenty of code, all aimed at clearly explaining how to create a plugin file, work with users, integrate widgets, add menus and submenus, secure your plugins, and more. You will quickly come to understand how to develop custom plugins so that you can take WordPress to the next corporate and enterprise level.
Professional WordPress Plugin Development:
Details the range of complexity in plugins, from a very simple social networking plugin to an extremely elaborate e-commerce package
Addresses how to integrate into WordPress, save settings, create widgets and shortcodes, and implement uninstall
Unveils the proper techniques for storing data, customizing user roles, and implementing security best practices
Shares procedures for using custom post types and creating and using custom taxonomies
wrox.com Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Most helpful customer reviews
21 of 21 people found the following review helpful.
It takes true experience to create a book this useful
By Eric A. Mann
The first time I went to a WordCamp presentation, the speaker said off-hand, "before I do anything, I check Justin Tadlock's site to see if he's written a tutorial." Before that day, I had never depended on anything but the Codex for support when I wrote plug-ins ... and you could tell by looking at my code.
Since then, I've become a frequent reader of Justin's blog, I've subscribed to several mailing lists for code, and I've started following quality developers - namely the authors of this book - on Twitter. It's been a slow start, but it's changed the way I look at open source and development in general.
And now comes a book written by three of the most respected developers in the WordPress community. It's well written, honest, and comes from a collective background of collaboration and been-there-done-that experience. I've been working with WordPress for more than 4 years now, and this is by far the best reference I've seen to date ... both for developers just starting with the project and for seasoned professionals who build their business on WordPress.
I've seen code written by all three of these developers, built my own systems on the shoulders of their outstanding work, and watched several others grow as developers following after their example. I can't think of any team more qualified to write about WordPress plug-in development, and I can't think of anyone else who'd do a better job.
This is an outstanding book and was definitely worth the 2-month pre-order wait to have a physical copy on my desk to mark up and turn back to. Though I'm confident that the eBook version will be just as useful for those who can't wait for overnight shipping to deliver! :-)
4 of 4 people found the following review helpful.
A must-read for WordPress developers
By James Beswick
There aren't many great WordPress books on the market and the topics covered here are not explained in any comprehensive way in the existing online resources. The authors have managed to distill everything you could possibly need to know about plugin development into a well-organized, well-written reference book that I've been calling on a couple of times a week.
Apart from the basics of plug-in development - which it explains very effectively - there are many advanced subjects that any plug-in developer needs to understand. It delves into WordPress actions and hooks, security, best practices, Ajax, the HTTP API, regionalization and how to test for performance.
The book doesn't pretend to teach you PHP and WordPress - you need to be well versed in both to get the most from the material. But if you want to develop plug-ins for either the community or commercial audience, everything you need to know is in here. As an aside, the authors are very well respected WordPress coders so you really couldn't hope to learn from better teachers.
2 of 2 people found the following review helpful.
See all 33 customer reviews...
A must have for all WordPress Plugin Developers!
By Bronson Quick
First of all, a big thank you to Brad, Ozh and Justin for writing this fabulous WordPress book!
I've been working with WordPress for a good five to six years now and I've been teaching myself development along the way by looking through the WordPress source code, reading blogs and Googling and over the years I've been doing things my own way based on what I've learnt.
This book has been such an eye opener for me because there are stacks of tips and ideas I've learnt while I've read the book. I took stacks of notes as I read and I've even typed out our own internal training for our development staff so that we can all be aware of the information in this book and code in line with the WordPress code standards. Not only will this help us internally it's also going to make it easy for our staff to contribute patches to the WordPress core.
I can't rave enough about how great this book is. It's worth it's weight in gold! I wish a resource like this was around years ago!