It’s a good way to let your blog readers to subscribe your blog via email, you can do this easily with FeedBurner. FeedBurner offers you a subscription form for your readers to subscribe, but sometimes we want to design our own way for subscription, maybe use a button or what. We need a link for this, we can find it in Feedburner, let me show you.

Read More

I’ve written a post, Prevent JQuery From Conflict With Other Libraries, I mentioned that the right way to import JQuery to WordPress is using:

[php]
< ?php wp_enqueue_script(“jquery”); ? >
[/php]

This will load the default JQuery coming with WordPress to your pages, the problem is what if you want a newer version of JQuery? WordPress doesn’t contain the latest version of JQuery, as they are not updating at the same time. But we can update JQuery for WordPress:

Read More

Since version 2.7, WordPress use wp_list_comments() to display comments instead of the old loop. If you only want to show comments without trackbacks, that’s easy to do, just add a parameter:

[php]
wp_list_comments(‘type=comment’);
[/php]

We also need to consider other things, like re-count the comments, list trackbacks and many bloggers prefer to show trackback links only, without excerpts. These are what we are going to do in this tutorial.

Read More


JQuery is getting more and more popular, many people are using JQuery in WordPress. The right way to import JQuery to your WordPress is like this:

< ?php wp_enqueue_script(“jquery”); ? >

Rather than using <script> syntax. Remember to run this script before wp_head(). And then you can load your own JavaScript like this:

< script type=”text/javascript”
src=”< ?php bloginfo("template_url"); ? >/js/testScript.js” >< /script>

Also remember you must put this after wp_head().

Read More

More and more codes have been added to my blog, I used to wrap my codes with quote, it’s not enough for long codes. I need a syntax highlight plugin for my blog.

I tested several syntax highlight plugins, including:

Read More