Add following code to your main file or where you want header & footer
<?php
require_once(rtrim($_SERVER['DOCUMENT_ROOT'], '/') . '/wp-load.php');
get_header();
?>
--------------------
--------------------
--------------------
--------------------
--------------------
<?php
get_footer();
?>
No comments:
Post a Comment