Having a Wordpress theme, it's important to include information to the top style.css file:

e.g for that default theme there's this:


Theme Title: WordPress Default

Theme URI: http://wordpress.org/

Description: The default WordPress theme in line with the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.

Version: 1.6

Author: Michael Heilemann

Author URI: http://binarybonsai.com/

Tags: blue, custom header, fixed width, two posts, icons


What are the wordpress functions to obtain these details programatically?

You could utilize get_theme_data() or this PHP script I come up with rapidly:


$file = file('your file location')

$contents = ''

foreach($file as $lines => $line)

preg_match('!/*[^*]**+([^/][^*]**+)*/!', $contents, $themeinfo)

echo nl2br($themeinfo[])