Programming Books C Java PHP Python Learn more Browse Programming Books
WordPress Plugin Development Beginner's Guide and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading WordPress Plugin Development Beginner's Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

WordPress Plugin Development (Beginner's Guide) [Paperback]

by Vladimir Prelovac
4.2 out of 5 stars  See all reviews (10 customer reviews)

List Price: $39.99
Price: $37.99 & FREE Shipping. Details
You Save: $2.00 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Gift-wrap available.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $14.59  
Paperback $37.99  
Sell Us Your Books
Get up to 80% back when you sell us your books, even if you didn't buy them at Amazon. Learn more

Book Description

February 16, 2009 1847193595 978-1847193599

Build powerful, interactive plug-ins for your blog and to share online

  • Everything you need to create and distribute your own plug-ins following WordPress coding standards
  • Walk through the development of six complete, feature-rich, real-world plug-ins that are being used by thousands of WP users
  • Written by Vladimir Prelovac, WordPress expert and developer of WordPress plug-ins such as Smart YouTube and Plugin Central
  • Part of Packt's Beginners Guide series: expect step-by-step instructions with an emphasis on experimentation and tweaking code

In Detail

If you can write WordPress plug-ins, you can make WordPress do just about anything. From making the site easier to administer, to adding the odd tweak or new feature, to completely changing the way your blog works, plug-ins are the method WordPress offers to customize and extend its functionality. This book will show you how to build all sorts of WordPress plug-ins: admin plug-ins, Widgets, plug-ins that alter your post output, present custom "views" of your blog, and more.

WordPress Plug-in Development (Beginner's Guide) focuses on teaching you all aspects of modern WordPress development. The book uses real and published WordPress plug-ins and follows their creation from the idea to the finishing touches, in a series of carefully picked, easy-to-follow tutorials. You will discover how to use the WordPress API in all typical situations, from displaying output on the site in the beginning to turning WordPress into a CMS in the last chapter. In Chapters 2 to 7 you will develop six concrete plug-ins and conquer all aspects of WordPress development.

Each new chapter and each new plug-in introduces different features of WordPress and how to put them to good use, allowing you to gradually advance your knowledge. This book is written as a guide to take your WordPress skills from the very beginning to the level where you are able to completely understand how WordPress works and how you can use it to your advantage.

What you will learn from this book?

  • Get to know the WordPress code base, WordPress's plug-in architecture, and the plug-in application programming interface (API) and learn how to hack it
  • Master the WordPress database and the API - access and manipulate data, handle user roles and permissions, posts, and so on
  • Hook into the rest of WordPress using actions and filters
  • Change the way your WordPress backend looks by customizing menus, submenus, and the plug-in admin panel
  • Integrate AJAX and jQuery into your plug-ins to dynamically generate content
  • Hook directly to WordPress edit pages and use AJAX to generate fast searches
  • Integrate your plug-in with WordPress panels and the tinyMCE editor
  • Access and work with third-party APIs like Flickr
  • Implement localization support for users of other languages
  • Maintain and manage your plug-in using SVN and publish it to the WordPress Plugin Repository
  • Handle security issues and make your plug-ins safer to use

We cover the development of six plug-ins from start to finish:

  • Digg-this: Adds a Digg This button to each post.
  • Live Blogroll: Adds a recent posts popup for each blog in your blogroll.
  • The Wall widget: Displays comments on the sidebar without reloading the page.
  • Snazzy Archives: Presents your site archives in a unique visual way.
  • Insights: Access your articles and Flickr images from within the WordPress edit page.
  • Post Types: Provides pre-defined post templates to quickly add a photo or a link to your blog.


This is a Packt Beginners Guide, which means it focuses on practical examples and has a fast-paced but friendly approach, with the opportunity to learn by experiment and play. Each chapter builds a practical plug-in from the ground up using step-by-step instructions. Individual sections show you how to code some functionality into your plug-in and follow up with a discussion of concepts.

Who this book is written for?

This book is for programmers working with WordPress, who want to develop custom plug-ins and to hack the code base. You need to be familiar with the basics of WordPress and PHP programming and believe that code is poetry; this book will handle the rest.

Frequently Bought Together

WordPress Plugin Development (Beginner's Guide) + Professional WordPress Plugin Development + Professional WordPress
Price for all three: $97.35

Buy the selected items together

Editorial Reviews

About the Author

Vladimir Prelovac

Vladimir Prelovac is the author of many popular WordPress plugins and articles about WordPress optimization, security and maintenance. He actively uses WordPress platform as a base for Internet development strategy for small & mid-sized businesses.

For Vladimir, WordPress development is a full time job about which he happily blogs on his web site

Product Details

  • Paperback: 296 pages
  • Publisher: Packt Publishing (February 16, 2009)
  • Language: English
  • ISBN-10: 1847193595
  • ISBN-13: 978-1847193599
  • Product Dimensions: 9.2 x 7.5 x 0.6 inches
  • Shipping Weight: 1.3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Best Sellers Rank: #619,772 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
14 of 14 people found the following review helpful
5.0 out of 5 stars Definitely Less Theory and More Results April 12, 2009
This book talks about the why and how of WordPress plugin development with heavy emphasis on the "how". The book's tagline "Learn by doing: less theory, more results" describes the book quite well. There is an introductory chapter that talks about the many benefits of learning WordPress plugin development. After that, the book immediately jumps right into showing you how to develop a series of 6 increasingly challenging WordPress plugins from scratch. It then finishes up by talking about plugin localization, promotion, and support tips.

Even though this book is a "Beginner's Guide," there are a lot things in there that many advanced WordPress plugin developers can benefit from. I don't consider myself a beginner in WordPress plugin development (see my WordPress plugins), and I have definitely learned quite a bit of things after reading this book.

Comment | 
Was this review helpful to you?
8 of 8 people found the following review helpful
3.0 out of 5 stars good enough June 3, 2010
I bought this book hoping to get one thing out of it: "How to create a plugin which makes use of a custom database table". Unless I missed something, this book doesn't show you how. At least not plainly. All the examples that concerns databases makes use of the existing WP tables.

I would've thought that using custom tables would definitely be in a plugin development book.

But the book did a good job in walking a user through the topics it did cover.
Was this review helpful to you?
1 of 1 people found the following review helpful
1.0 out of 5 stars BEWARE!!! March 11, 2014
Format:Kindle Edition|Verified Purchase
The first plugin you build is suppose to add a Digg button to your posts. Problem is the plugin "Digg This" does not work.. So might find yourself banging your head against the wall like I did. First thing I did after checking my code for typos over and over is try the source code you can download.. That does not function either. Okay so I went and installed Vladimir's newer vesion from The Digg features does not work there either. Why? After at least six hours of trying to resolve this I found out the Digg links do not exist any longer on the Digg site or they are broken.

I went and looked for errata.. None to be found. I went to Vladimir's site and the comments and questions I saw posted as far back as 2009 appear to have no response to them.

So if you are new like me instead of typing in your first plugin and experinece the joy of creating a working plugin in you are left trying to figure out why it does not work. I returned the book. I do not know if the rest of the plugins function but I am not going to risk my time only to be spend hours building non functional plugins.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars Good stuff May 31, 2010
WordPress has gone from strength to strength since it was released in 2003, and much of its success is due to the open source community's commitment to plugin development. Take a look at the WordPress Plugin Directory, and you'll see thousands of plugins that extend the WordPress core to do almost anything you can imagine.

Packt Publishing's WordPress Plugin Development is written by Vladimir Prelovac, a WordPress expert and developer of WordPress plug-ins such as Smart YouTube and Plugin Central. Part of Packt's Beginners Guide series, the book focuses more on experimentation and learning by doing, and develops 6 real-world plugins throughout its 270 or so pages.

Chapter Overview

1. Preparing for WordPress Development
2. Social Bookmarking
3. Live Blogroll
4. The Wall
5. Snazzy Archives
6. Insights for WordPress
7. Post Types
8. Development Goodies

Aimed at developers who are familiar with PHP, the book wastes little time getting straight into coding. Chapter 1 gives an overview of plugin development, and details the six plugins that are developed throughout the course of the book.

1. Digg This

The first plugin simply shows a Digg button in blog posts. It's a good first plugin, since it shows the reader the fundamental Plugin concepts such as the WordPress API, filters and actions.

2. Live Blogrool

This plugin works at making the basic Blogroll a little bit more exciting. I enjoyed this chapter since it talked about integrating jQuery and AJAX into plugins.

3. The Wall

The Wall is a plugin that creates a shoutbox on your blog's sidebar, where users can leave comments and shouts.
Read more ›
Comment | 
Was this review helpful to you?
5 of 7 people found the following review helpful
5.0 out of 5 stars Great instructive book about creating plugins June 12, 2009
WordPress is one of the most popular blogging programs available and plugins associated with it are also quite popular. This book shows the reader how to create your own and provides excellent instructions on doing this. One concept that is discussed early on is "dogfooding your plugins." This means you should strive to create a plugin that satisfies your needs. And while it addresses a need you have, it very likely is one that others have as well. With all the plugins available now, a plugin that addresses a unique need should become popular quickly.

The book devotes chapters to the creation of seven different plugins, including Digg This (social bookmarking plugin), Live Blogroll, The Wall, and Post Types among others. Each chapter describes in step by step details how to create the plugin and gives numerous code examples along the way. It also explains unfamiliar concepts in a way that makes them easy to quickly understand. There are also brief explanations of how JQuery and Ajax (two important programming languages used in developing plugins) work. The book's final chapter gives tips on documenting and promoting your plugin, as well as ways to improve your overall WordPress knowledge.

Every time I check the WordPress plugin directory, it seems there are quite a few amazing new plugins to try out which have been created by talented people. This book will help you to become one of them.
Comment | 
Was this review helpful to you?

What Other Items Do Customers Buy After Viewing This Item?


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category