author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:28:13 +0200 | |
changeset 9 | 177826044cd9 |
parent 7 | cf61fcea0001 |
child 16 | a86126ab1dd4 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* @package WordPress |
|
4 |
* @subpackage Theme_Compat |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
5 |
* @deprecated 3.0.0 |
0 | 6 |
* |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
7 |
* This file is here for backward compatibility with old themes and will be removed in a future version. |
0 | 8 |
*/ |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
9 |
_deprecated_file( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
10 |
/* translators: %s: template name */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
11 |
sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ), |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
12 |
'3.0.0', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
13 |
null, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
14 |
/* translators: %s: template name */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
15 |
sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) ) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
16 |
); |
0 | 17 |
?> |
18 |
<!DOCTYPE html> |
|
19 |
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
|
5 | 20 |
<head> |
21 |
<link rel="profile" href="http://gmpg.org/xfn/11" /> |
|
9 | 22 |
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" /> |
0 | 23 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
24 |
<title><?php echo wp_get_document_title(); ?></title> |
0 | 25 |
|
9 | 26 |
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" /> |
27 |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> |
|
0 | 28 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
29 |
<?php if ( file_exists( get_stylesheet_directory() . '/images/kubrickbgwide.jpg' ) ) { ?> |
0 | 30 |
<style type="text/css" media="screen"> |
31 |
||
9 | 32 |
<?php |
33 |
// Checks to see whether it needs a sidebar |
|
34 |
if ( empty( $withcomments ) && ! is_single() ) { |
|
35 |
?> |
|
36 |
#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbg-<?php bloginfo( 'text_direction' ); ?>.jpg") repeat-y top; border: none; } |
|
0 | 37 |
<?php } else { // No sidebar ?> |
9 | 38 |
#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } |
0 | 39 |
<?php } ?> |
40 |
||
41 |
</style> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
42 |
<?php } ?> |
0 | 43 |
|
9 | 44 |
<?php |
45 |
if ( is_singular() ) { |
|
46 |
wp_enqueue_script( 'comment-reply' );} |
|
47 |
?> |
|
0 | 48 |
|
49 |
<?php wp_head(); ?> |
|
50 |
</head> |
|
51 |
<body <?php body_class(); ?>> |
|
52 |
<div id="page"> |
|
53 |
||
54 |
<div id="header" role="banner"> |
|
55 |
<div id="headerimg"> |
|
9 | 56 |
<h1><a href="<?php echo home_url(); ?>/"><?php bloginfo( 'name' ); ?></a></h1> |
57 |
<div class="description"><?php bloginfo( 'description' ); ?></div> |
|
0 | 58 |
</div> |
59 |
</div> |
|
60 |
<hr /> |