Forums

custom image header - REMOVE (4 posts)

  1. gregclimbs
    Member
    Posted 3 years ago #

    after I disabled the custom image header, wp INSERTS code into the header that overides all other code I have.

    How do I disable this header code insertion?

    header.php calls wp_header() which inserts a #header { background...} that overwrites what I want in there.

    where do I edit the calls in wp_header to remove the custom image header removal code?

    clear as mud?

    g

  2. eisa01
    Member
    Posted 3 years ago #

    Try to remove the header-img.php file in the images folder of your theme.

    That worked for me.

  3. stubbornella
    Member
    Posted 2 years ago #

    This worked for me:

    1. Open header.php
    2. Remove:
    <?php wp_head(); ?>

    If you just remove the header-img.php file without removing the code that calls it, you'll generate php errors and potentially slow your site. Also, as far as I can tell, the default image will still be called (the blue one).

  4. itchytrig
    Member
    Posted 2 years ago #

    stubbornella - you say remove:
    <?php wp_head(); ?>

    Yes that works! BUT it also removes all meta keywords, meta descriptions and a whiole lot more too... ouch!

    Anyone successfully just disabled the Kubrick Default Header Image, but left in the line: <?php wp_head(); ?>

    ?

Topic Closed

This topic has been closed to new replies.

About this Topic