[theme-reviewers] including feeds in header.php

Chip Bennett chip at chipbennett.net
Wed May 4 12:22:24 UTC 2011


That's the very purpose of add_theme_support( 'automatic-feed-links' ). So,
no: those feed links should NOT be hard-coded in the document head.

Chip

On Wed, May 4, 2011 at 6:52 AM, Jason Gottschalk <jason at gottschalk.ca>wrote:

> Is the following ok to include feeds in header.php or are they required to
> be called using add_theme_support( 'automatic-feed-links' ) in
> functions.php?
> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php
> bloginfo('rss_url'); ?>" />
> <link rel="alternate" type="application/atom+xml" title="Atom 0.3"
> href="<?php bloginfo('atom_url'); ?>"
>
> Thanks
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110504/09930456/attachment.htm>


More information about the theme-reviewers mailing list