Another coding frenzy successfully finished

I’ve had another few days of intensive coding and completed a few plugins that can help with the new theme.

I can’t believe that only last week I was feeling burnt out with coding! All I needed was a little “I wonder if I could …” php demon in my ear and I was off. Everything else has suffered though, I have barely talked to anyone in the past 3 days. I haven’t even answered any text messages! lol. I must be a hermit :-)
Here’s what I’ve been up to:

  1. new plugin: Custom scripts per post
    It’s not good to have unnecessary javascript includes loading on every page if only 1 page or post uses it so I wrote this to allow me to have tutorial or example posts that use custom javascript included in the head of the page. Now if I want to include some javascript on a particular post (like the CommentLuv check) then I just add the urls to the custom field of the post entry page. Sweet.
  2. new plugin: Close comments on a particular post after a given date
    This was inspired from the regular contests I run. Especially ones that are time specific. Now I just add a custom field with the date and time I want comments to be closed. The plugin does all the checking and displays a message below the form to say when comments will be closed
  3. new plugin: Notify box for current contests
    I especially like this one, it displays a sliding div notifying the surfer if there is a contest open. I just select the category “current_contest” on the new post I want to be displayed. This allows me to have a contest open and still be able to add new posts without the contest post going out of focus, plus I think it looks pretty cool!
  4. updated plugin: Retreive a picture from Flickr
    I’ve updated this so I can spit out a picture from flicker by searching for terms given, title of the post, tags of the post or even just a random one. I added the ability to output directly including a given class with one echo command.
  5. updated theme: front page code
    I added a check to see if a post has a specific image url in it’s custom fields, if it has then it uses that instead of the flickr search
  6. updated plugin: Lotto results display
    I changed the parsing routine so it doesn’t get tripped up by strange things in the source of the source
  7. updated theme: Fat boy!
    I widened the main content area so code can be displayed nicely. Plus it looked a little thin!

Not bad, I even finished before the weekend. Now I have no more excuses to get on with ‘real work’ lol!