What I like in China, not just in Beijing, I can see lots of nice motto, such as this one (远离烟草,崇尚健康,爱护环境). It means ‘away from tobacco; promote healthy lifestyle; care for environment’. Hmm. I believe everyone should start doing it now including me. He He. Tonight, I should eat more healthy food and reduce clubbing [...]
When I was at The Place (世贸天阶) in Beijing, I saw these nice sculptures. I felt city people can’t live without mobile phone nowadays.
I regret for not bring my sling bag to Beijing. I need a bag to keep my umbrella, a bottle of water and a camera. I am thinking for getting a new one here. Where to get it? After a morning walk around the area near my apartment, I saw a new shop called “Faya [...]
Although I am very tired now, I need to complete this small task before I go to bed. I need to take some pictures of my current stay in Beijing for showing my parents that I am safe and staying in a comfortable place. Sorry mum. I did not call earlier. Below pictures will give [...]
Most of the basic theme template file are explained. We do felt error 404 page, 404.php, is quite important. There is always a chance that user might click on the page that does not exist. If it does happen, proper error 404 page as following will handle it.
There is a new template tag for search form, get_search_form();, in WordPress version 2.7. However, the template tag will look for search form, searchform.php, first. If the file does exists, it will use that file. If not, it will generate the HTML. We decided to use this new template tag. Hence, we will replace the [...]
The WordPress theme functions file, functions.php, basically acts like a plugin, adding more features to WordPress theme. Currently I added the code as following to this file for supporting widget in dynamic sidebar.
WordPress Theme Development 7 – Comments
There is an enhancement for comment display in WordPress 2.7. New template tags are introduced. This WordPress theme will be using those enchancement too.
In the header file, header.php, code as following is added right before the call to wp_head(); for supporting new JavaScrip functionality with comment threading in WordPress 2.7.
Posted by Ivan @ May 6th, 2009 in WordPress with Comments, WordPress Theme
View Comments