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:
Andrew Ozz 2011-11-19 04:16:39 +00:00
parent 74006f881c
commit b62a5ac879
1 changed files with 2 additions and 1 deletions

View File

@ -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">