• In myne theme i use a flashanimation in the header. But the flashanimation play also if you select a other page.

    So i make a extra pagetemplate and replace <?php get_header(); ?> to <?php get_headerextra(); ?> and dupicate header.php and rename it to headerextra.php. In the headerextra.php a remove the flasanimation.

    But now i get the error “Fatal error: Call to undefined function get_headerextra()”.

    Is there somebody who can help me with this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You have to update the functions file if you do it that way. What I did is create header2.php, and then I used the line /<?php include(TEMPLATEPATH.”/header2.php”);?>/ instead of /<?php get_header2(); ?>/

    I have the same problem…but i’m new for WP…can you explain how i shoud change the functions file exactly , please =/

    Replace <?php get_header(); ?> with <?php include(TEMPLATEPATH."/header2.php");?> in the template files that you would like to use the alternative header.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add second Header’ is closed to new replies.