888888.888888.88""Yb..dP"Yb..8888b..Yb..dP.88b.88....db....8b....d8.88..dP""b8..dP"Y8
88__...88__...88__dP.dP...Yb..8I..Yb.YbdP..88Yb88...dPYb...88b..d88.88.dP...`".`Ybo."
88""...88""...88"Yb..Yb...dP..8I..dY..8P...88.Y88..dP__Yb..88YbdP88.88.Yb......o.`Y8b
88.....888888.88..Yb..YbodP..8888Y"..dP....88..Y8.dP""""Yb.88.YY.88.88..YboodP.8bodP'


88b.88.888888.888888.Yb........dP.dP"Yb..88""Yb.88..dP
88Yb88.88__.....88....Yb..db..dP.dP...Yb.88__dP.88odP.
88.Y88.88"".....88.....YbdPYbdP..Yb...dP.88"Yb..88"Yb.
88..Y8.888888...88......YP..YP....YbodP..88..Yb.88..Yb

January 22, 2008

Quick N Dirty

Writing a plugin can seem daunting if you have never done it before. There are so many great plugins out there that it often seems as though there are no topics left to cover, but plugins really don’t need to be fully featured, publicly released, solutions. You can do a lot with your own blog by developing relatively quick plugins. I want to encourage everyone who hosts their own WordPress blog to write a plugin no matter how small, just for themselves. That is the point of this series.

Each weekday for the next ten days I will be publishing a very short, quick, sample plugin. It won’t be available to download, but the code on the blog will be complete.

The name of the series is Quick n’ Dirty for a reason. These won’t bother with classes, objects, options, admin pages, databases (well maybe a little in the later ones) or that kind of malarkey, just one file, one hook, one function. This is a series for beginners, so just get stuck in.

To encourage things along a little I want to give some publicity to anyone that takes part in QuADFuN (quick and dirty fortnight), as the kids are calling it, so if you write your own quick and dirty plugin for your blog in the next two weeks, whether or not you use one of the examples, and publish a post about the code then come back to this post and explain what you did and I’ll add your name to a list on this page.

I’m also here to help with problems that come up when you are writing them, I am open to suggestions for quick and dirty plugins (I have only thought of four), and I’m open to guest entries, just drop me a note from the contact form.

I am convinced that you can do a lot with very little time or effort once you know of a few hooks and uses. I hope there is a demand to learn, and if there is I am here to help.

The first post will be tomorrow; you’ve been warned!!

Quick n’ Dirty Plugin Posts

List the posts links at the bottom of the post

Replace text in your post each time you save the post.

Prevent posts appearing on the home page.

Add a footer to the end of each post in your RSS feed.

Use WordPress’s Blogroll functionality to create a controllable navigation scheme with links for both casual visitors and registered users.

Theme your WordPress admin login page quickly and easily.

Build a page to report statistics using Google Charts.

Use random forms to thwart spambots.

Connect your blogs together by sending category requests to that category on your other blog.

Show visitors that your blog is offline while you tinker like a mad inventor.

What Wordpress Workflow Needs
Wordpress plugin workflow?
3 comments
page 1226
What Wordpress Workflow Needs
Wordpress plugin workflow?
3 comments
page 1226
Post Image The Easy Peasy Way
Wp get attached large images?
26 comments
page 1065
Html 5 Gallery
Html 5 picture gallery?
6 comments
page 1305
Quick N Dirty Admin Login Screen
Simple css login page?
no comment
page 128
Fun With Sidebar Tabs Styling
Wordpress theme colored tabs?
2 comments
page 336
Creating Custom Urls
Custom url for wordpress page?
6 comments
page 80
Why I Ditched Disqus
Wordpress disqus page comments?
5 comments
page 1175
Post Image The Easy Peasy Way
Wp codex display image in loop?
26 comments
page 1065
Updating Code Snippets Here
Code updating?
no comment
page 1338
How To Add Sidebars To A Theme
Add sidebars in footer?
10 comments
page 1053
Post Image The Easy Peasy Way
Wp codex images in loop?
26 comments
page 1065
Using Your Own Url Shortener
Wordpress rewrite specific category?
4 comments
page 1190
Post Image The Easy Peasy Way
Wordpress get attached image url?
26 comments
page 1065
Quick N Dirty Admin Login Screen
Login screen css?
no comment
page 128
Doing More With Widgets Changing Layouts
Wordpress how to us registersidebarwidget more then once?
6 comments
page 28
Wordpress Chat
Wordpress chat?
3 comments
page 1308
Fun With Theme Widgets
Wp fun tema?
24 comments
page 867
Html 5 Gallery
Photo gallery html 5?
6 comments
page 1305
Html 5 Gallery
Html5 image gallery?
6 comments
page 1305
Post Image The Easy Peasy Way
Get large image from post wordpress?
26 comments
page 1065
Why I Ditched Disqus
Disqus themes?
5 comments
page 1175
Post Image The Easy Peasy Way
Image attachment in wp?
26 comments
page 1065
My Experience Of Flexx
Flexx theme and wordpress?
4 comments
page 1026
Wpunlimited The Ultimate Wordpress Theme
Wordpress blogs?
3 comments
page 1141
Html 5 Gallery
Html wordpress 5 themes?
6 comments
page 1305
Html 5 Gallery
Html wordpress 5 themes?
6 comments
page 1305
Premium Ithemes Review Photo Gallery
Ithemes review?
4 comments
page 226
Post Image The Easy Peasy Way
Postimage wp?
26 comments
page 1065
Post Image The Easy Peasy Way
Wordpress get medium image?
26 comments
page 1065
Html 5 Gallery
Gallery html5?
6 comments
page 1305
Updating Code Snippets Here
Fun plugins wordpress?
no comment
page 1338
Quick N Dirty Offline Status
How to make my offline and update database if i exit the page?
no comment
page 134
  1 query every 1676 seconds, updated 1 seconds ago.
Tuesday, 10pm
 __
(__)
   `

 Manne

Many thanks for the Quick and Dirty series, this is a great way to get into writing wp plugins!