• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter shaye

    (@shaye)

    anyone?

    Thread Starter shaye

    (@shaye)

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

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

    @jbbrwcky- Would this work for an external site?

    I understand that this is the procedure for calling the header within the WordPress installation- but if you are linking to an external site, wouldn’t you have to show the absolute URL?

    In any case, I am hoping to do the same thing as Shaye and I have had no luck so far with either approach.

    Any other ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to “call” wordpress header?’ is closed to new replies.