Header image disappeared

Viewing 4 posts - 1 through 4 (of 4 total)
  • #15657
    pgallaga
    Participant

    http://pablogallaga.com

    I encountered the image upload issue with the WP 3.5.2 upgrade that required me to update my functions.php, but when I did that my header image disappeared. (I’ve since reverted back to the old functions.php just so it will display and you can maybe pinpoint the issue.)

    I’ve tried the fix referenced here http://www.onedesigns.com/support/topic/clickable-header but that didn’t help, and have since removed that code snippet from my header.php

    Any help would be appreciated. Thanks!

    #15660
    Daniel Tara
    Keymaster

    I checked your website and your header image looks fine. You can update to Minimatica 1.0.9 which is compatible with WordPress 3.5.2

    #15661
    pgallaga
    Participant

    Hi Daniel,

    I had reverted back my functions.php so that it would display. Now, I’ve recreated the issue if you take a look now.

    Is there a fix that doesn’t require updating to 1.0.9? I’d prefer to not have to redo customizations. Thanks!

    #15665
    Daniel Tara
    Keymaster

    The image doesn’t appear so you obviously don’t reference it in code. You need to add something like this beteen the <h1> tag:

    <?php if ( ( '' != get_header_image() ) &&  ( false != get_header_image() ) ) : ?>
    	<a href="" rel="home">
    		<img src="" alt="<?php bloginfo( 'name' ); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" />
    	</a>
    <?php endif; ?>
Viewing 4 posts - 1 through 4 (of 4 total)

Tagged: ,

You must be logged in to reply to this topic.