WordPress Template Tag
From Wiki @ Karl Jones dot com
In WordPress, Template Tags are units of PHP code used within WordPress Templates to display various types of information.
Not to be confused with HTML tags, which also appear in Templates.
Example: bloginfo()
The code below displays the name of the blog:
<?php bloginfo('name'); ?>
It is often used in the header.php
, along with HTML, like this:
<h1><?php bloginfo('name'); ?></h1>