Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Code Samples
You like a plugin’s idea, but don’t like the plugin’s implementation
You want to modify existing plugin code
You want portable theme code
You are a theme designer
You want to make money
Listen to Yourself
Check out Blogging Resources
Check out the WordPress Support Forums
Investigate APIs
Third Party Applications
Existing WordPress Plugins
How a WordPress Plugin Works
Folder Structure
Initialize Your Class
Set Up Actions and Filters
Actions in Action
Removing Actions
Adding A Content Filter
Applying Filters
A Place to Store the Variables
Set Your Admin Default Options
Initialize the Admin Options
How the Admin Panel Works
Set up the Admin Panel Function
Set up the Admin Panel Action
Name Your User Options
Set Your the Default User Options
Initialize the Admin User Options
Set up the User's Panel Function
printAdminUsersPage function
Storing Data in a Database
The WordPress Database Class
Add your JavaScript
The wp_register_script function
The wp_enqueue_script Function
Loading in the Cascading Style Sheets
Set up the showComments function
Setting up the JavaScript
The Result
Prior to Release
Try to Follow the Standards
Make Sure You Have Tested Your Plugin Thoroughly
Make Sure You Have a Readme File
Set Up a Dedicated WordPress Plugin Page
Promote at Weblog Tools Collection
Promote at the WordPress Plugin Database
Promote at the Official WordPress Plugin Repository
Promote On Your Own Blog
The End of the 'How to Write a WordPress Plugin' Series
About the site:
A note about Code:
0 of .
Results for:
No results containing your search query
P. 1
How Write Plugin

How Write Plugin

|Views: 34|Likes:
Published by Daniel Carrero

More info:

Published by: Daniel Carrero on Nov 10, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 39 are not shown in this preview.
You're Reading a Free Preview
Pages 41 to 43 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->