While working on a WordPress theme recently, I came across a particularly frustrating issue. The aim was to integrate the existing site header into the blog and, thinking this would be simple matter of a PHP include/require, I went straight ahead. However, I was wondering why variables in the included file were being ignored. It basically came about because I forgot about what require_once does – requires that file once. After using require, the variables magically appeared! Wow!
28
Nov
2009
Nov
2009

