Peng Zhang on March 21st, 2011

Truth be told. One day it just dawned on me that WordPress does not use session at all, none. How does it know whether a user is an anonymous visitor or someone who has previously logged in? It uses cookies. If I remember correctly, it uses a number of cookies: one for the admin backend, [...]

Continue reading about WordPress Does not Use Session

Peng Zhang on January 28th, 2011

If anybody is wondering why their themes and widgets menu disappear from under the Appearance admin area even if you are logged in as an administrator, this happened to me yesterday. To save you some time, I figured and confirmed that this can be caused by turning on the option to show the Appearance -> [...]

Continue reading about Themes and Widgets Menus Disappear from Appearence

Peng Zhang on January 28th, 2011

I had felt the need to implement a sidebar in the header of an existing theme, and therefore, embarked on an investigation of how to implement a sidebar or widget zone for a theme. I found useful information in a few places: and I came to the understanding that: register_sidebar(), register_sidebars(), unregister_sidebar() [...]

Continue reading about Implementing Sidebar or Widget Zones in Themes

WordPress themes from do not support WordPress 3.0 Menu feature, at this writing on January 23, 2011, and, for that matter, probably do not support WP3.0 new features in general. I had to tweak the theme to coax it to work with WP3.0′s menu. Here are the changes I did to the QwertyPress theme: [...]

Continue reading about Tweaking TemplateSold WordPress Template to Work with 3.0 Menu Feature

I decided to play with the two popular WordPress plugins to see how they meet my needs. Here are some facts at the time of this writing: WPML Multilingual CMS: downloads: 199,894 qTranslate: downloads: 190,903 Here is purely my personal opinion: Pros for qTranslate provides easy one-click buttons on admin menu to localise the admin [...]

Continue reading about WordPress Plugins for Multilingual Support – WPML vs qTranslate

Peng Zhang on December 7th, 2010

I have encountered a situation where some designated form recipients will not receive submitted forms, using Contact Form 7. More specifically, if the recipient’s domain matches the domain under which the website is hosted, those recipients will not actually receive the emails. However, if the recipient’s domain does not match the domain of the website, [...]

Continue reading about Contact Form 7 Does not Send Out Emails