Changeset 17672
- Timestamp:
- 04/21/2011 07:43:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/404.php
r17669 r17672 20 20 <?php get_search_form(); ?> 21 21 22 <?php the_widget( 'WP_Widget_Recent_Posts' ); ?>22 <?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?> 23 23 24 24 <div class="widget"> … … 31 31 <?php 32 32 $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>'; 33 the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );33 the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), "after_title=</h2>$archive_content" ); 34 34 ?> 35 35
Note: See TracChangeset
for help on using the changeset viewer.