[wp-trac] [WordPress Trac] #8878: Allow theme developers to have feed links automatically outputted

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 18 07:58:27 GMT 2009


#8878: Allow theme developers to have feed links automatically outputted
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  Viper007Bond
     Type:  enhancement   |      Status:  new         
 Priority:  normal        |   Milestone:  2.8         
Component:  Template      |     Version:  2.7         
 Severity:  normal        |    Keywords:              
--------------------------+-------------------------------------------------
 Oddly enough this idea occurred to both Matt and I today without talking
 to each other before hand. Crazy.

 Anyway, theme developers shouldn't have to hard code in the `<link>`s or
 code up the logic to display the URL to a category, etc. feed in their
 theme's head. On the other hand, we can't just go and do it ourselves as
 browsers aren't smart enough to ignore duplicate feed links.

 So I have a patch in the works where a theme developer can just call a
 function in their theme's `functions.php` file and that will queue up
 automatically adding `<link>` tags to the `<head>` depending on current
 location (home, single, category, etc.).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8878>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list