get_template_directory() vs bloginfo( ‘template_directory’ ) vs TEMPLATEPATH
To make a long story short: get_bloginfo( ‘template_directory’ ) and get_bloginfo( ‘template_url’ ) simply return get_template_directory_uri(). So, you can shortcut that second call simply by referring directly to the latter template tag. Refer to source for get_bloginfo(). A few others: ‘url’ => home_url() ‘wpurl’ => site_url() ‘stylesheet_url’ => get_stylesheet_uri() ‘stylesheet_directory’ => get_stylesheet_directory_uri() ‘locale’ => get_locale() … Read more