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
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(); ?>
alexisronse
Member
Posted 1 year ago #
@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?