WordPress.org

Ready to get started?Download WordPress

Forums

header.php...using my own header and footer... (4 posts)

  1. mmmhmmmm
    Member
    Posted 9 years ago #

    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: http://angel.paperpieces.org/wordpress/

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

  2. Joshua Sigar
    Member
    Posted 9 years ago #

    <?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

  3. mmmhmmmm
    Member
    Posted 9 years ago #

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

  4. Joshua Sigar
    Member
    Posted 9 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.