First Million Challenge Homepage

Written My First Wordpress Plugin

Blogged By: Low Hang Wei @ April 2nd, 2009 - 2:35 am

I have always wanted to learn more about how to do additional things in Wordpress and finally got around to doing it. My first wordpress plugin is only intended for my own use, although I may decide to publish wordpress plugins in future. For those visitors that constantly refresh my blog for updates, you may have noticed that I just added a ‘Top Friends’ section, which is powered by the plugin I wrote. Basically, it allows adding of link partners and displaying on the website based on number of visitors received from them.

That portion of the code that is visible is of course just a small part, since the major part comes under the administration, where I am able to add/ edit websites and blogs to the list. Regardless, it took me about four hours to finish the whole thing when I finally decided to work on it. To think that I wanted to implement it three months ago and I have put it off for so long when I could have finished it much earlier. This is my first experience with writing a wordpress plugin and I would say that they have made it pretty easy to do so.

Of course, there are still many things that I do not know about Wordpress, since I used my own tables for the script. I guess it would take quite a lot of time to look through Wordpress documentation and come up with a distribution-friendly plugin, but I have not tried it yet.

Anyway, I am also curious what is the best way to generate PHP pages, instead of the pages in wordpress that only supports static content. I don’t really want to install a plugin to evaluate all my pages, since I only need to add two pages in PHP. If anyone knows how to do that and keep everything neatly in the plugin directory, it will really be a great help.

Blogged Under: First Million Challenge

More Posts

« Rejected a Job OfferGoogle Pagerank Update »


Leave a Reply


Get Notified of New Posts!
Get 'First Million Challenge' updates sent to your email. Just enter your email addy: