Make WordPress Core


Ignore:
Timestamp:
01/19/2009 05:04:58 AM (16 years ago)
Author:
azaozz
Message:

Add support for automatic feed links in themes, props Viper007Bond, see #8878

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/functions.php

    r10137 r10377  
    55 */
    66
    7 if ( function_exists('register_sidebar') )
    8     register_sidebar(array(
    9         'before_widget' => '<li id="%1$s" class="widget %2$s">',
    10         'after_widget' => '</li>',
    11         'before_title' => '<h2 class="widgettitle">',
    12         'after_title' => '</h2>',
    13     ));
     7automatic_feed_links();
     8
     9if ( function_exists('register_sidebar') ) {
     10    register_sidebar(array(
     11        'before_widget' => '<li id="%1$s" class="widget %2$s">',
     12        'after_widget' => '</li>',
     13        'before_title' => '<h2 class="widgettitle">',
     14        'after_title' => '</h2>',
     15    ));
     16}
    1417
    1518/** @ignore */
Note: See TracChangeset for help on using the changeset viewer.