Support » Themes and Templates » custom image header – REMOVE

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try to remove the header-img.php file in the images folder of your theme.

    That worked for me.

    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).

    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(); ?>

    ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom image header – REMOVE’ is closed to new replies.