<?php
namespace CustomTags;
function ct_header($tag)
{
return nl2br('<a class="backtotop" href="./index.php">← Back to index</a>
<strong>Custom Tags © Oliver Lillie '.date('Y').'
This text is an example CustomTag <ct:header />
This examples name is "'.$tag['attributes']['example_name'].'" and is set in an attribute of the custom tag.</strong>
');
}
|