Creating and Selling Wordpress Plugins
Minimum price
Suggested price

Creating and Selling Wordpress Plugins

About the Book

The first part of Creating and Selling Wordpress Plugins will walk professional and hobbyist programmers alike through all the major components of building a custom plugin.

Readers will learn how to correctly structure a plugin and how to create professional administration menus. Using detailed explanations, readers will get the hang of using Javascript and Ajax correctly in Wordpress. As the guide progresses programmers will also learn how to create custom shortcodes as well as how to access the database with the plugin.

Provided throughout are complete code examples showing exactly how to implement every feature discussed and these examples can be easily extended to add your own unique features.

Once readers have an understanding of how to create their own plugins the second part of the book discusses how to sell those plugins online to make a healthy income.

Starting out with methods for coming up with solid and profitable ideas, the book then moves onto how to make your plugins stand out from the crowd. There is detailed information on the various methods of selling plugins including using marketplaces, landing pages and social media.

The goal of Creating and Selling Wordpress Plugins is to act as a primer for those new to the world of creating for Wordpress and selling software online. It is aimed at those who have at least some basic technical knowledge, though even complete beginners can benefit from the book if willing to supplement with other beginner books on web programming.

About the Author

Jamie Osborne
Jamie Osborne

Jamie Osborne is a software industry veteran with over 12 years' professional experience in a wide variety of roles. He is also a successful entrepreneur and founder of several diverse businesses.

A British ex-pat now living in America, he enjoys the challenge of writing and teaching others. Jamie regularly creates software for and can be found blogging occasionally at

Table of Contents

  • Introduction
    • Pre-requisites & Assumptions
    • Sample Code
  • Setting Up
  • Plugin Structure
  • Creating the main plugin file
  • Creating the administrator menus
    • Simple Menu
    • Top-Level Menu
    • Summary
  • Database
  • Shortcodes
  • Styling
  • Code Complete
  • Plugin Ideas
  • Before Selling
  • Marketplaces
    • Getting started
    • Stand out from the crowd
    • Downsides to marketplaces
  • Plugin Website
    • Getting Started
    • Essentials
    • Selling from your website
  • Social Selling
    • Deals
    • Facebook and Twitter
    • Mailing list
    • Guest posts
  • Putting It All Together
  • Where to find more information

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub