The MU forums have moved to WordPress.org

Custom image header API (4 posts)

  1. TTjip
    Member
    Posted 15 years ago #

    I installed the Custom image header API, http://boren.nu/archives/2007/01/07/custom-image-header-api/

    I see it in my admin panel and was able to upload.

    My question is, how can I get this custom image to show up in say home.php or index.php, which should appear underneath my main header which is common across all blogs?

    (I'm using WPMU 2.7)

  2. cafespain
    Member
    Posted 15 years ago #

  3. TTjip
    Member
    Posted 15 years ago #

    One question...

    define('HEADER_IMAGE', 'setta.jpg'); // %s is theme dir uri and image filename

    Do I need to change the image filename?
    And if so, to what? Because each blog will use their own uploaded header image.

    Thanks

  4. andrea_r
    Moderator
    Posted 15 years ago #

    Yes, you DO need to change the image file name on that line - the the *original* header filename of that particular theme.

    As in, it must already have a header image. Use that one. WP has to know which one it's replacing.

About this Topic