bloginfo vs. template_directory

Try not to use bloginfo( ‘template_url’ ); or get_bloginfo(); functions. Why, you ask? Simply put, these functions are for sissies. Put more politely, these functions are ancient and don’t take into account some of the newer features of WordPress. Instead, use: get_template_directory(); ← This returns the file path to the theme directory. get_template_directory_uri(); ← This […]