Zack Live
1st April 2010 |

How to Find Your FeedBurner Email Subscription Link

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 [...]

more
25th March 2010 |

The Right Way of Adding JavaScript to WordPress

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: 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, [...]

more
22nd March 2010 |

Separate Trackbacks from Comments in WordPress 2.9

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: 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. [...]

more
12th March 2010 |

Prevent JQuery From Conflict with Other Libraries

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 [...]

more
5th March 2010 |

Choose a Syntax Highlighter Plugin for WordPress

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: SyntaxHighlighter Plus WP-Syntax Google Syntax Highlighter for WordPress Syntax Highlighter for WordPress SyntaxHighlighter Evolved

more
20th December 2009 |

The Power of WP_Query

WP_Query is a powerful tool to control what to display on your blog. This is very useful for plugin and theme designer, especially for magazine style themes which need to display posts of different categories in different sections. In this post, I will teach you how and when to use WP_Query. Case 1: Display posts in [...]

more
3rd November 2009 |

CSS: How to Center Your Images

If you have a paragraph(<p>) or a <div> with only images, it’s very easy to center them, just set the ‘text-align’ to ‘center’: p{ text-align: center } What if there is other content in the paragraph, like text, and you don’t want it to be centered. Well, one way to do this, is to add [...]

more
31st October 2009 |

Little Tip for Image Editing in WordPress

I used to resize every images manually while they are to big for the post. Later, Automatic added ‘Media’ setting to WordPress, we could set default image sizes, so that we could select our image sizes just by one click after uploading. But sometime we don’t upload, we use ‘From URL’ to insert images. In [...]

more
4th September 2008 |

How to Disable Theme Preview in WordPress 2.6

Since WordPress 2.6, every time you change your theme, you will see the theme preview screen. But sometime you know exactly which theme you want to use, and you don’t need to preview. In this case, you don’t need this preview function, it becomes kinda annoying. Disable Theme Preview plugin is created to disable this [...]

more
28th August 2008 |

How to Transfer FeedBurner Feeds to Google

AdSense for Feeds was finally released, I tried to add ads to my original feeds which were burned by FeedBurner. FeedBurner offers AdSense settings, but you need to put the ad codes to your blog by yourself, and it’s not working for me, because I can see the ads not just in the feed, also [...]

more