[theme-reviewers] including feeds in header.php

Doug Stewart zamoose at gmail.com
Wed May 4 13:00:20 UTC 2011


Except Atom and earlier RSS aren't output by automatic-feed-links.

On Wed, May 4, 2011 at 8:22 AM, Chip Bennett <chip at chipbennett.net> wrote:
> 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
>>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>



-- 
-Doug


More information about the theme-reviewers mailing list