WordPress.org

Make WordPress Core

Changeset 19348


Ignore:
Timestamp:
11/19/11 04:16:39 (2 years ago)
Author:
azaozz
Message:

Twenty Eleven: footer widgets shouldn't appear on the 404 page, props iandstewart, fixes #18933

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/footer.php

    r17959 r19348  
    1919                 * your footer with three columns of widgets. 
    2020                 */ 
    21                 get_sidebar( 'footer' ); 
     21                if ( ! is_404() ) 
     22                    get_sidebar( 'footer' ); 
    2223            ?> 
    2324 
Note: See TracChangeset for help on using the changeset viewer.