/**
 * Inject into RSS2 xml header
 * @see http://www.w3schools.com/rss/rss_reference.asp
 */
function ts_feed_spruce_rss2_head()
{
    $options = ts_feed_spruce_get_options();
    if (!empty($options['rss2image'])) {
        echo "<image>";
        echo "<link>" . get_bloginfo_rss('url') . '</link>';
        echo "<title>" . get_bloginfo_rss('name') . get_wp_title_rss('&#187;') . '</title>';
        echo "<url>" . esc_url($options['rss2image']) . '</url>';
        echo "</image>";
    }
    echo '<copyright><![CDATA[';
    if (!empty($options['copyright'])) {
        echo ent2ncr(strip_tags(str_ireplace('%year%', copyright_date(), $options['copyright'])));
    } else {
        echo ent2ncr('(c) ' . copyright_date() . ' ' . get_bloginfo('name'));
    }
    echo ']]></copyright>';
}
Exemple #2
0
			<footer>
				<div id="footer">FOOTER</div>
				<div id="copyright">
					<?php 
echo copyright_date();
?>
 - Todos os direitos reservados - <a href="#">Call Tecnologia</a>
				</div>
			</footer>

		</div>
		<?php 
wp_footer();
?>
		<script src="<?php 
bloginfo('template_url');
?>
/js/intranetfunctions.js"></script>
	</body>
</html>