Support » Themes and Templates » header.php…using my own header and footer…

  • i’ve included my own header and foooter instead of the one that comes with the theme to integrate it into my site and it seems to have come out ok..the only thing is, my header doesn’t have the following lines which the wp header had.
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php wp_head(); ?>
    i don’t know what they do…
    i tried putting these into my own header but that made my non wordpress pages not work…so i removed them again. is it ok that i don’t have those lines? it seems to work ok at the moment but i don’t know if i will end up with problems later…
    my wordpress is currently installed here:

    can someone please tell me if i have to have those lines?

Viewing 3 replies - 1 through 3 (of 3 total)
  • <?php wp_get_archives('type=monthly&format=link'); ?>
    The above template tag will generate links to your archives that can be used by search engine bots to crawl into.

    <?php wp_head(); ?>
    The above template tag is a hook for plugins. It triggers the execution of any plugins that are made to hook to wp_head

    so is it going to matter if i don’t include them? i can’t figure out a way to do it wothout making my other pages not work anymore…

    The first one doesn’t matter; the second one, depends on what plugins you use.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘header.php…using my own header and footer…’ is closed to new replies.