What is meaning of a Template Tag in WordPress
A template tag is code that instructs WordPress to “do” or “get” something. In the case of the header.php template tag for your WordPress site’s name, it looks like this:
php bloginfo(‘name’); ?> // this will print the blog name
Following are the more public methods.
php bloginfo('name'); ?>
php bloginfo('description'); ?>
php bloginfo('url'); ?>
php bloginfo('admin_email'); ?>
If you want to display the email of the administrator, you don’t have to type it into the template files. By doing so, it may be open to email harvesters who use sophisticated software to come in and grab email addresses to use for spam. By using bloginfo('admin_email'), the email is displayed on the page for the viewers, but the actual email address is disguised from the harvesters. Nice, huh? The administrator’s email address is set in the Options > General SubPanel.
Sometimes you’d like to show off which version of WordPress you are using. The Themes that come with WordPress by default include this information in the footer template. It simply displays the version of WordPress your blog uses.