A WordPress designer and developer from a small town in Borneo island. Blogger and computer geek who is passionate in web publishing work.

That is called stingy

Sound to me like SMC (Sibu Municipal Council) is getting more stingy, or overly corrupted nowadays.

A few days ago, they carried a road upgrade work on my resident area without notice, without help.

Bridge

A lot of residents here are shock paniced with the surprise work SMC brought in, and did not called to extend our bridge. We all here have to spend money building a new one, which SMC just whipping their arse and leave.

But the story doesn’t end there. Today they came again to apply tar onto it, after almost a week! However, due to their overly clever engineer and accountant, that is all they can “afford”

Road upgrading work

The rest are on our own, again! Means, we resident here is going to need to spend our money for their upgrading work again.

Yes, local election is needed!

A little bitter but still good

After a bit of counting, today was the day I left my previous office for good. I went straight away working myself, together with my wife (then girlfriend). My office was a messy room while she was miles away at her home in Medan.

Working

It is still good, we both manage to achieve our dream :)

Thinking back, if I did not take this road, I may not experience whatever I have had for past month. Not to mention, the freedom I have working at home.

Though sometimes I felt that I need to be more socialize, and an office is a good to go. But hell, we have Facebook and Twitter :) I still manage to meet some great people.

Let’s see if I can achieve a higher level next year!

Baby? When?

Baby delivery

“When your turn to be a father?”

A very familiar yet scary question I’ve been hearing from relatives, friends and some elderly.

Well, not that prepare for such a big commitment yet, I just can’t imagine myself buying baby clothes or shop with a baby on my arms.

I made a few visit to friends who has kids, from 1 year old to 5 year old. The only conclusion I get was noise.

Baby crying

As a person who like to stay at home, work at home, and talk less. I don’t feel too comfortable with kids’ noise. I would prefer a TV sound or music instead. Even though some friends told me that it is time for me to be a father, as time is running fast and it is somehow, fun to raise a baby, like playing a digimon.

Let’s not play digimon first :)

Working at home, fun? Maybe no

July, isn’t a great month for me, yet, as I took the wrong challenge. Anyway, it’s coming to an end, which is great. I can process to some other top priority stuff myself, do some green shopping, watch some movie and spend quality time at home. I spend less time with my laptop this month. It’s a surprise I manage to get away from laptop for such a long time and still comfortable with it :)

Calendar

There are still some pending job to do, and I am here trying to relax a bit. See! Being a web designer and working at home is just not as they have imagined.

I got so much distraction working at home, I may some times, become a driver and drive them around, because they thought I am free sitting at home, waiting for money to fly in. After all, at this digital age, games is the top priority for computer.

Target

Every end of the month, we both would check all our balance, to see if we reach our sales target, or perhaps, can we survive next month for the money collected this month. Though it is easy to survive over here with its low-cost living style, but saving for next move is always our priority too. That is the stress I get most of the time – Target!

How to create custom widgetized homepage in WordPress

WordPress is now known to be a CMS (Content Management System) instead of a simple blogging platform. A lot of developers like to create website using it, to save quality time on building a website and spending time styling each page.

However, a newbie to WordPress, like how it happen to me previously, would spend time styling the PHP files for a custom home page in WordPress. That will takes a long time, especially when copy need to be revise or added.

Widget Homepage

First in functions.php, we register a new widget,

register_sidebar(array(
‘name’ => ‘Home Page’,
‘description’ => ”,
‘before_widget’ => ‘<div class=”home-widget”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));

Then, in index.php, we point the front page / home page of default WordPress to a place where it is widgetized to allow custom content.

<?php if(is_home() || is_front_page()) { ?>
<?php get_header(); ?>
<div id=”content”>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Home Page’) ) : endif; ?> // Home page widget
</div>
<?php get_footer(); ?>

<?php } else { ?>
// Default WordPress loop
<?php } ?>

WP custom Homepage