More Link Modifier…now in Danish!
It has been about two years ago when I decided to give php a go and write a WordPress plugin. This plugin was what I called "More Link Modifier" and it came about because I didn't like the behaviour of the default 'more' link, which basically was fixed text and jumped to the section where the more link was within that post (usually somewhere in the middle). It seems like many people also don't quite like the default more link since there has been over 1400 downloads as of today!
I must admit that after finishing the initial release of the plugin I never really got back to add more to it (though I do think it has enough 'features' as is, don't want feature creep!). In fact, I don't think I've touched it ever since submitting the first version (shame on me
).
However, in the past few weeks I was contacted by Georg Adamsen who had very kindly translated the admin settings into Danish - thanks Georg
So now armed with the files edited by Georg that enabled the Danish translation, I looked at code that I had written some two years ago (yay for comments) and reviewed the comments on More Link Modifier download page to see if any changes were needed. Surprisingly I didn't make any drastic changes, only a few small cosmetic changes. Having said all that, there are some possibilities of a few small additions to the plugin, in particular use of 'the_content_more_link' filter available from WordPress 2.8 that allows adding extra attributes to the more link.
my first plugin!
After a few nights of "Just 5 more minutes...", I finally finished writing my first plugin for WordPress
The More Link Modifier. Not long after 'hacking' some files to change the 'more link' to behave as I wanted, I started thinking about the possibility of writing a plugin to prevent the need for the 'hacking'. After some research I decided it would be very possible; so despite my lack of time started coding the plugin. The final product is a bit different (it's better!) to what I had initially in mind, but I'm sure there is still more room for improvement - so any suggestions welcome!
Finishing the plugin gave me a very nice sense of accomplishment - though realising that I had used camelCase, but WordPress uses underscore_notation was a bit annoying. Got plans for a few other plugins (must remember to use underscore_notation in the future), though they'll probably have to wait until after assignments are done...unless I start procrastinating...