Last updated on 14/09/2016 function _get_current_theme_logo() { global $theme; if ($path = theme_get_setting('logo', $theme)) { return '<img src="' . $path . '"/>'; } } Drupal 7 View the discussion thread.