Twenty Eleven: footer widgets shouldn't appear on the 404 page, props iandstewart, fixes #18933
git-svn-id: https://develop.svn.wordpress.org/trunk@19348 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
74006f881c
commit
b62a5ac879
|
@ -18,7 +18,8 @@
|
|||
/* A sidebar in the footer? Yep. You can can customize
|
||||
* your footer with three columns of widgets.
|
||||
*/
|
||||
get_sidebar( 'footer' );
|
||||
if ( ! is_404() )
|
||||
get_sidebar( 'footer' );
|
||||
?>
|
||||
|
||||
<div id="site-generator">
|
||||
|
|
Loading…
Reference in New Issue