Use automatic_feed_links() in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13144 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f33e66e512
commit
76091e3e9d
|
@ -37,6 +37,9 @@ add_theme_support( 'post-thumbnails' );
|
||||||
// so we want them to be 940 pixels wide by 198 pixels tall (larger images will be auto-cropped to fit)
|
// so we want them to be 940 pixels wide by 198 pixels tall (larger images will be auto-cropped to fit)
|
||||||
set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
|
set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
|
||||||
|
|
||||||
|
// Add default posts and comments RSS feed links to head.
|
||||||
|
automatic_feed_links();
|
||||||
|
|
||||||
// Make theme available for translation
|
// Make theme available for translation
|
||||||
// Translations can be filed in the /languages/ directory
|
// Translations can be filed in the /languages/ directory
|
||||||
load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' );
|
load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' );
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
|
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest posts', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
|
|
||||||
<link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'comments_rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
|
|
||||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue