-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
71 lines (70 loc) · 3.1 KB
/
header.php
File metadata and controls
71 lines (70 loc) · 3.1 KB
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
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php if (is_search()) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<title>
<?php
if (function_exists('is_tag') && is_tag()) {
single_tag_title("Tag Archive for ""); echo '" - '; }
elseif (is_archive()) {
wp_title(''); echo ' Archive - '; }
elseif (is_search()) {
echo 'Search for "'.wp_specialchars($s).'" - '; }
elseif (!(is_404()) && (is_single()) || (is_page())) {
wp_title(''); echo ' - '; }
elseif (is_404()) {
echo 'Not Found - '; }
if (is_home()) {
bloginfo('name'); echo ' - '; bloginfo('description'); }
else {
bloginfo('name'); }
if ($paged>1) {
echo ' - page '. $paged; }
?>
</title>
<link rel="shortcut icon" href="/favicon-psy.ico" type="image/x-icon" />
<link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/css/style.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/css/bootstrap-responsive.min.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory') ?>/css/extra.css" type="text/css" />
<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 /*
<div class="topbar" style="position:relative;margin-bottom:15px;">
<div class="topbar-inner">
<div class="container-fluid">
<a class="brand" href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<?php bloginfo('description'); ?>
<p class="pull-right">Logged in as <a href="#">username</a></p>
</div>
</div>
</div>
*
*/
?>
<div class="container blogContainer">
<div class="row">
<div class="span3">
<?php get_sidebar(); ?>
</div>
<div class="span9">
<div class="hero-unit well" id="frontHeaderUnit">
<div style="float:left;margin-right:35px;">
<img id="frontImage" alt="" src="<?php bloginfo('template_directory') ?>/images/agostonfung2.jpg"/>
</div>
<h1>Hi!</h1>
<p>My name is Agoston Fung and I am a software engineer living in London, UK.</p>
<p>This is my blog where I share my thoughts with you.</p>
<p><a href="/about-me" class="btn primary large">More about me »</a></p>
</div>