WordPress Plugin Development: Beginner's Guide
|Also available on:|
- 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
Book DetailsLanguage : English
Paperback : 296 pages [ 235mm x 191mm ]
Release Date : February 2009
ISBN : 1847193595
ISBN 13 : 9781847193599
Author(s) : Vladimir Prelovac
Topics and Technologies : All Books, CMS and eCommerce, AJAX, Beginner's Guides, Content Management (CMS), Open Source, Web Development, WordPress
Table of Contents
Chapter 1: Preparing for WordPress Development
Chapter 2: Social Bookmarking
Chapter 3: Live Blogroll
Chapter 4: The Wall
Chapter 5: Snazzy Archives
Chapter 6: Insights for WordPress
Chapter 7: Post Types
Chapter 8: Development Goodies
My conclusion first, for those in a rush: it is a great book.It’s really rich. For people knowing the basics of PHP and willing to give WordPress plugins a first shot,it should be a fantastic read. I wished I could have read something like this five years ago when I began coding plugins for WordPress :).Read more
Hats off to you Vladimir! I really used your book until the ears got all coffee stained (and yes, I printed out all 700 pages from the pdf!).I recommend this book to Wordpress junkies or anyone with a bit of curiosity on how plugins work with wordpress.Read more
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 6 submitted: last submission 30 Sep 2013
Errata type: Typo | Page number: 9
Search Engines Friendly
Search Engine Friendly
Errata type: Code | Page number: 58
the part of code:
$wp_live_blogroll_plugin_url = trailingslashit
Errata type: Code | Page number: 73
last line of the page:
Errata type: Code | Page number: 83
function WPLiveRoll_Handle ajax($link_url)
Errata type: Typo | Page number: 85
As you may have noticeed
As you may have noticed
Errata type: Code | Page number: 170
Code error 1st line of page missing close bracket,
$this->plugin_url = trailingslashit( WP_PLUGIN_URL.'/'.
$this->plugin_url = trailingslashit( WP_PLUGIN_URL ) .'/'.
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.
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.
A fast-paced guide for PHP developers to creating feature-rich plug-ins for WordPress
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 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.