Linux Today: Linux News On Internet Time.

More on LinuxToday

WordPress For the Web Developer: How To Write Your Own Plugins

Apr 19, 2010, 19:32 (0 Talkback[s])
(Other stories by David Fiedler)


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

"Previously in this tutorial series about the WordPress Content Management System, we've covered relatively simple ways of modifying the look, feel, and functionality of your WordPress website by using plugins and selecting and modifying themes. Now you'll be getting deeper into the internals of WordPress by learning how to write your own plugins and integrate them into WordPress.

"Here's the high-level overview of the process: Select a unique name for the plugin and main function Create directory, main and readme files with header and license information

"Write and debug the code (easy, huh? :-)

"Zip up the code directory, and install plugin on WordPress for final testing

"Name That Plugin

"All WordPress plugins must have a name, but more importantly, the name must be unique across all WordPress plugins, to prevent the wrong code from being executed. So before you get too involved in writing code, take a few minutes to search the currently available plugins and pick a good, descriptive name that nobody else is using."

Complete Story

Related Stories: