/
page-blank.php
50 lines (43 loc) · 1.05 KB
/
page-blank.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/*
* Template Name: Blank Page
*/
the_post();
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php the_title(); ?></title>
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/i/favicon.ico">
<meta name="author" content="jQuery Foundation - jquery.org">
<?php
$meta = get_post_custom_values( 'meta' );
if ( $meta ) {
foreach( unserialize( $meta[ 0 ] ) as $key => $value ) {
echo '<meta name="' . $key . '" content="' . $value . '">' . "\n";
}
}
?>
<?php
$stylesheets = get_post_custom_values( 'stylesheets' );
if ( $stylesheets ) {
foreach( unserialize( $stylesheets[ 0 ] ) as $value ) {
echo '<link rel="stylesheet" href="' . $value . '">' . "\n";
}
}
?>
<?php
$scripts = get_post_custom_values( 'scripts' );
if ( $scripts ) {
foreach( unserialize( $scripts[ 0 ] ) as $value ) {
echo '<script src="' . $value . '"></script>' . "\n";
}
}
?>
</head>
<body>
<?php the_content(); ?>
</body>
</html>