I'm using the Divi theme and wanted to load the header and footer on an external php page.
I have tried the following code but it loads the default header and footer:
<?php
require($_SERVER['DOCUMENT_ROOT']."/wp-load.php");
get_header();
//
// my other php content
//
get_footer();
?>
How can I load the header and footer from the Divi theme?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744344609a4569606.html
评论列表(0条)