-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathheader.php
60 lines (56 loc) · 1.88 KB
/
header.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
51
52
53
54
55
56
57
58
59
60
<?php
/**
* Elbee Elgee Header Template
*
* @package Elbee-Elgee
* @copyright Copyright (c) 2011, Doug Stewart
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
*
* @since Elbee-Elgee 1.0
*/
$lblg_meta = get_option('lblg_meta_info');
$lblg_themename = $lblg_meta['themename'];
$lblg_shortname = $lblg_meta['shortname'];
$lblg_options = get_option($lblg_shortname . '_theme_options' );
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php
if ( class_exists('All_in_One_SEO_Pack') || class_exists('HeadSpace_Plugin') || class_exists('Platinum_SEO_Pack') || class_exists('wpSEO') || defined('WPSEO_VERSION') ) {
?>
<title><?php wp_title(''); ?></title>
<?php
} else {
?>
<title><?php if(is_search()) { echo "Search Results » "; } else { wp_title('»', true, 'right'); } ?> <?php bloginfo('name');?></title>
<meta name="description" content="<?php bloginfo('description'); ?>" />
<?php
}
// Support for Ozh's YOURLs short-link plugin.
// Highly-recommended.
if (is_single() or is_page()) {
if(function_exists('wp_ozh_yourls_head_linkrel')){
wp_ozh_yourls_head_linkrel();
}
?>
<?php } ?>
<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php lblg_before_container(); ?>
<div id="container">
<?php lblg_container_top(); ?>
<div id="header">
<div id="titledesc">
<?php lblg_print_title(); ?>
<p class="description"><span><?php bloginfo( 'description' ); ?></span></p>
</div>
<?php lblg_print_bp_menu(); ?>
</div>
<?php lblg_print_menu(); ?>