Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2011 06:27:35 AM (13 years ago)
Author:
djpaul
Message:

Respect the 'display header' switch in Appearance > Header. Fixes #3563

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r5136 r5146  
    339339        $header_image = get_header_image();
    340340    }
    341 
    342     if ( empty( $header_image ) )
    343         return;
    344341?>
    345342
    346343    <style type="text/css">
    347         #header { background-image: url(<?php echo $header_image ?>); }
     344        <?php if ( !empty( $header_image ) ) : ?>
     345            #header { background-image: url(<?php echo $header_image ?>); }
     346        <?php endif; ?>
     347
    348348        <?php if ( 'blank' == get_header_textcolor() ) { ?>
    349349        #header h1, #header #desc { display: none; }
Note: See TracChangeset for help on using the changeset viewer.