我想创建没有页面模板的自定义PHP文件作为重定向页面,并在此页面中包含WordPress主题的页眉和页脚,但没有页面模板,我想将此页面用作href的重定向页面
例如: 1.php文件 包含
<?php get_header();?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
</body>
</html>
<?php get_footer(); ?>