Finished school work, taking a break at the moment!
Phew, just finished my final year project. I guessed I’m really shagged out right now. Let me take a break from developing stuff for a week or two, before clearing all the stuff ahead of me.
Cheers!
Looking Back, Looking Forward
Year 2008 is coming to an end and a new year is coming. To me, I feel that 2008 was the best year in web development, where I have accomplished many things throughout.
The first half of the year was pretty quiet to me, but the other half was the crazy part. I participated in three competitions, including WorldSkills Singapore 2008 and code::XtremeApps:: . Though I didn’t get anything for code::XtremeApps:: , the highlight of the year was me winning the silver medal for WorldSkills Singapore 2008. It feels rewarding when you have spent years working on web development.
During the course of the year I have also learnt new stuff like Adobe Flex/AIR, Facebook application development, ActionScript 3.0, jQuery and further working into the WordPress API.
So what’s next for the year 2009? I’m currently working on two projects right now, which will be brought forward to the year ahead.
The first is my final year project for my diploma, which is the usage of Flash and ActionScript 3.0 to create an mini social multiplayer browser game.
Another project would be a WordPress theme framework, where I will be working with a friend of mine on its development. We have thought of the name and it is called Buffet. The project page is now available at Google Code and is currently at the brainstorming page. Feel free to request what you want to see in the theme framework, we would appericate it!
Arras.Theme – Gaming Edition will be integrated into Buffet with the release of 1.2 and the same for SteamPress for its 1.0 release, which means that both releases will be delayed until the completion of the theme framework. We hope that we can finish it in mid-February.
Anyway, 2009 will be the year of my graduation but also the year where I will be enlisted in National Service
. I certainly hope that will not disrupt in the course of my web development, but I doubt that will happen.
Never mind about that, let’s hope that the year ahead will be a good one for myself and for the world.
Happy New Year everyone!
WordPress: Post Classes for Backward Compatibility
If you haven’t checked on the page on migrating plugins and themes to WordPress 2.7, WordPress 2.7 includes a new function for post classes, which allows you to take advantage of the sticky post feature, called post_class().
Now if you were to follow what is shown on the page, which is:
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
You might end up getting something like this if you were to install your theme on WordPress 2.6 and below:
Fatal error: Call to undefined function post_class() in .../index.php on line x
That’s not good.
One way to workaround this is to create a custom function in your functions.php of your theme:
function mytheme_post_class() {
// if WordPress 2.7+, run built-in post_class()
if ( function_exists(’post_class’) ) return post_class();
// else manually assign some class to the post element
else echo ‘class=”post”‘;
}
And replace the previous code with:
<div id="post-<?php the_ID(); ?>" <?php mytheme_post_class(); ?>>
Hope this helps!
Site Updated, with New Features
During the moving of the site to my new web host at Media Temple, I have improved and fixed a lot of stuff on this site, including the comments display for WordPress 2.7 over here and some usability improvements.
Another thing to highlight is that the wiki is gone, and has been replaced by a Redmine installation over at http://projects.zy.sg/. Over there you can view any progresses with the two WordPress themes, as well as submitting bugs, features and support requests to any of the projects. You need to register though.
Hope to see some feature requests coming in for both themes (especially for Arras.Theme – Gaming Edition, some of the features for 1.2 BETA have been posted up there too).
And oh yes, happy holidays to everyone!
Moving!
I’m in the process of moving the stuff over here to a new web host, so don’t panic when you see things not working at this point of time!