Archive for July, 2009

Sitemaps in WordPress

After using Google Analytics for few months, we are very happy with it. Today we knew about Google webmaster central. This site contains lots of webmaster resources including tools that helping to improve traffic to our site.

WordPress Theme Development Checklist

We had been improving this WordPress theme since the site is hosted. This theme has change a lots. More changes to come. For now, it is time for us to look back the code and verify it with this checklist. This checklist covered almost everything major things in WordPress theme. Although this checklist is more [...]

Fix Canvas Size in Processing.js

Finally the shape of the circle inside the canvas looks correct. Size of the canvas should stated inside setup() function in JavaScript and not CSS. We guess, if we did not mention the size of the canvas inside the setup() function, the default size, width is 200px and height is 200px, will be set. When [...]

WordPress Theme Development 17 – Archives Template

We decided to change the archives template to be different from main index template. Archives means to be summary of a category, tag or date. The major different between these two template is using template tag, the_excerpt(), in archives template, as shown as below:

WordPress Theme Development 16 – Page Template

No matter how, we still felt we need to have a different template for site pages. Page template should not have both the meta post data and comment info. We took the main index template and modified it. The final code is as below as reference.

Twitter Retweet Button for WordPress

Retweet is to forward a post or tweet that you are interested back to Twitter. I noticed some of the blogs have the retweet button on their post that allowing the visitor retweet their interested posts. I wonder where they got those button. At the end, I realize it is WordPress retweet button from TweetMeme. [...]

What are #hashtags?

I believe hashtags were introduced by Twitter communities. Basically, hashtags are tags that starts with # in Twitter posts. These tags will be treated as topics / events / groups that you are tweeting. If others are interested with your topics / events / groups, they will just search your hashtags. Find out more on [...]

Split Sidebar into Two Divisions

I decided to split sidebar into two divisions. So that I can use the primary sidebar as widgets and secondary sidebar as customize lists. Here is the original sidebar.php.

CCTV Beijing Headquarters

I was near by CCTV Beijing headquarters. It was blue sky plus I did bring my camera. Prefect timing to snap some shots of the awesome buildings, although part of the buildings was caught by fire recently.

Short Visit at Hou Hai Beijing

One evening, I visited Hou Hai (后海) on the way meeting my friends. I didn’t know there are lots of bars located just right behind the Di An Men shopping center (地安门商场). Those bars were also surrounding the Hou Hai lake. New finding that evening.

« Older Posts

Newer Posts »