How to Create a WordPress Plugin

Before creating a plugin it's helpful to determine the tools you need for your plugin to function and then determine how to integrate them into WordPress. In this guide I will be teaching by example. The plugin we will be creating is a simple post text replacement plugin. In the WP Admin panel we will be able to modify the search and replace parameters. We also will have a replacement color and toggle color. After some planning I've determined this plugin will require the following:
- jQuery : We need jQuery to toggle the class on our replacement text when clicked.
- Database : We need our settings stored permanently. Of course you already have a database set up for WordPress. We will use that.
- CSS : We will use two stylesheets, one for the admin side and one for the client side.
- Custom Javascript: We're going to place our code in a separate file to show you how to load JavaScript on the admin side and the client side.
As mentioned before we want the plugin to have an admin panel accessible from the WordPress panel. We also need to hook into posts/pages for our search matching.
The following are WordPress documents that are essential for reference when creating a plugin. It will prove useful to have them bookmarked and opened in your browser at all times.
How To Create a New Device in EAGLE

As you can see in my previous post I want to build a Nixie Clock. The tubes I have are model Z573M. I plan on designing a circuit, testing it, and having the final product manufactured. I only plan on making two clocks, but I want to do it professionally. The problem is, to my knowledge the Z573M does not exist as a part in any circuit designing program. So even for my initial schematic I was running into issues. I decided to use EAGLE because I've heard it's powerful, fairly easy to use, and they have a version that is freeware.
When you are creating a new part in EAGLE you may want to create a new library. This will make it easier to share your part, should you choose to do so.
To create a new library in EAGLE go to File > New > Library.
