2009-03-15 posted in Useful Resources
Click on the link and see the effect.

Type 1

Type 2

Type 3

See all other types of Javascripts displays

2009-03-14 posted in Wordpress and Blogging Tips

WordPress 2.7 introduces a lot of enhancements and one of the major improvements of this new version is the new comment functionality. In WordPress 2.7, comments can be paged, threaded, etc. All of these functionalities are built-in but your theme must support it.

Before we proceed with the topic, it is important that you understand that enhanced comments are optional and its default is in the off mode, even after you have done the changes. In order to change the setting, you have to go to Settings –> Discussion panel to turn the feature on.

Strictly speaking, the word “compatibility” is not an appropriate term. The old themes will still work in the new version. The only issue here is that you will need the theme to support the threading, paging and the javascript enhancements.

This makes it important that your theme’s comments be compatible with WordPress 2.7. In order to unlock the potentials of WordPress 2.7’s comments, a couple of theme modifications are needed.

The first step would be to save the file as legacy.comments.php in the theme directory. After this, you have to create a WordPress 2.7-only comments file and save it as comments.php.

The procedure is to check the version of WordPress that has been installed.

In the theme’s functions.php file, add the following code:

add_filter('comments_template', 'legacy_comments');

function legacy_comments($file) {

if(!function_exists('wp_list_comments')) : // WP 2.7-only check

$file = TEMPLATEPATH . '/legacy.comments.php';

endif;

return $file;

}

?>

This completes the entire procedure.

2009-03-13 posted in Wordpress Themes

Latest Version: 1.02
Updated on: 2010/03/26

Last year, I asked for your suggestion about what you would like to see for my upcoming new themes. Some of you suggested themes that cover 4 seasons. I already had an autumn-style theme, Maple Leaf. This new one that I created is for the winter season.

For the theme users residing in the Southern Hemisphere like Australia and New Zealand, the Winter Fun theme becomes suitable for you this time of the year.

subscribeThis theme is free to download and you are granted unlimited usage. Please support this site by subscribing via RSS or email.
Winter Fun Wordpress Theme
Click on the “Free Download” link above to get the theme now!
By using this theme for FREE, you agree to accept the external links.

More info about this theme…

2009-03-11 posted in About My Themes
When you install my theme, you’ll notice that there is a php script in the footer that appears like this:
<?php echo templatelite_show_links();?>

In this post, I give a list of Q&A explaining what this footer script is all about.

What is the function of the footer script?
This footer script allows me to track the URLs that have installed my theme.  It also allows me to add links to the footer.

Why do you want to include the script to the theme?
There are two main reasons why I include the script:
1) I will be able to know which themes interest you more.  Thus, I’ll create more themes that suit your needs. For example, within a certain time frame, if theme #1 (travel related) has been used by 100 domains as compare to 200 domains using theme #2 (also travel related), it is clear that theme #2 is more popular. Hence, I’ll create more themes using the design style of theme #2.

2) I will be able to monetize from the themes by getting advertisers to sponsor my themes. Using this method, my advertisers know exactly which sites link to them so they get what they pay. Without regular income from my advertisers, I won’t be able to offer more quality themes for your free downloads.

Can I remove the script?
Yes and no. Yes if you pay $20. No if you want to use my themes for free.

Is the script safe?
Definitely! The function of the script is to get RSS and display. It is similar as normal RSS. My themes’ users are my lifeline and I won’t risk it. I have taken all necessary measures to make sure that you won’t get malicious content brought by the script. If you still don’t feel comfortable, you can study the code (it is not encrypted) and see how I made it.

How many links will be displayed in the footer?
I will only display a maximum of 4 advertisers’ links in the footer.

Will the script slow down my blog?
No. You’ll only query my server 4 times a day and each time last less than 10 seconds. The slowdown is negligible.

If your link server is down, will it affect my blog?
No! Your blog will function as per normal independent of my server.
Continue to page 2 for the detail explanation of the script…

2009-03-10 posted in Latest News

I am a frequent reader of Themelib.com and today I went to the site and found out that 3 of my Wordpress themes are listed there!

Themelib.com is in my subscription list because this site releases timely and useful updates and resources. I notice that one of the topics that Themelib write about regularly is the featuring of Wordpress themes. On closer look, most of the themes featured on Themelib are paid one. Yes. There are a lot of featured free themes but majority are for the Blogger platform. You hardly find Wordpress themes that are free.

I am honored that Themelib.com featured 3 of my themes.

I only have 10 themes right now. If you want to find more free quality Wordpress Themes, be sure to visit Theme Lib. And if you are looking for Premium Wordpress Themes, you can’t miss DailyWPTheme.com!