Forums

How to "call" wordpress header? (4 posts)

  1. shaye
    Member
    Posted 5 months ago #

    Hi guys
    I am trying to call my wordpress header from an external page.
    i could just go ahead and view the page source, then copy the html + css and it's OK, but then it's static and not dynamic, e.g if i add a new page to my wordpress site it won't replicate... is there any way around this?
    thank you

  2. shaye
    Member
    Posted 5 months ago #

    anyone?

  3. shaye
    Member
    Posted 5 months ago #

    so how long does it takes to get a reply around here guys? :(

  4. jbbrwcky
    Member
    Posted 5 months ago #

    AFAIK, know where your WP install is, and include this file which is in the blog base directory:

    <?php include('wp_blog_header.php'); ?>

    Then you can call the normal procedures such as:

    <?php wp_head(); ?>

Reply

You must log in to post.

About this Topic

Tags

No tags yet.