This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// =============================== | |
// Reducing database calls | |
// http://jeremyhixon.com/sandbox/snippet/reducing-database-calls-using-bloginfo/ | |
// | |
// Global variable used to reduce database queries on values commonly requested in themes. | |
// Use "global $bloginfo;" at the beginnng of any theme file and/or function to be able to access the values. | |
// =============================== | |
$bloginfo = array( |
NewerOlder