Changeset 8029
- Timestamp:
- 01/07/2019 02:41:41 AM (6 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/404.php
r6304 r8029 19 19 20 20 <div class="page-content"> 21 <p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'gutenbergtheme' ); ?></p> 21 <p><?php 22 printf( 23 __( 'It looks like nothing was found at this location. Maybe try the <a href="%s">Gutenberg Handbook</a> or a search?', 'gutenbergtheme' ), 24 home_url( '/handbook/' ) 25 ); 26 ?></p> 22 27 23 28 <?php 24 29 get_search_form(); 25 26 the_widget( 'WP_Widget_Recent_Posts' );27 30 ?> 28 29 <div class="widget widget_categories">30 <h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'gutenbergtheme' ); ?></h2>31 <ul>32 <?php33 wp_list_categories( array(34 'orderby' => 'count',35 'order' => 'DESC',36 'show_count' => 1,37 'title_li' => '',38 'number' => 10,39 ) );40 ?>41 </ul>42 </div><!-- .widget -->43 44 <?php45 46 /* translators: %1$s: smiley */47 $archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'gutenbergtheme' ), convert_smilies( ':)' ) ) . '</p>';48 the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );49 50 the_widget( 'WP_Widget_Tag_Cloud' );51 ?>52 53 31 </div><!-- .page-content --> 54 32 </section><!-- .error-404 --> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css
r7971 r8029 37 37 ## Posts and pages 38 38 ## Comments 39 ## 404 39 40 # Infinite scroll 40 41 # Media … … 836 837 837 838 /*-------------------------------------------------------------- 839 ## 404 840 --------------------------------------------------------------*/ 841 .error404 #content { 842 max-width: 960px; 843 margin: 0 auto; 844 display: flex; 845 min-height: 400px; 846 } 847 848 .error404 p { 849 margin: 1.5em auto; 850 } 851 852 853 /*-------------------------------------------------------------- 838 854 # Infinite scroll 839 855 --------------------------------------------------------------*/
Note: See TracChangeset
for help on using the changeset viewer.