<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/assets/img/favicon.ico" type="image/x-icon">
<!-- Facebook Meta -->
<meta property="og:image" content="<?php the_preview_image(); ?>">
<meta property="og:title" content="<?php wp_title( t'|', true, 'right' ); ?>">
<meta property="og:description" content="<?php the_description(); ?>">
<meta property="og:url" content="<?php the_permalink(); ?>">
<meta property="og:site_name" content="<?php bloginfo('name'); ?>">
<meta property="og:type" content="blog"/>
<script src="//use.typekit.net/qja1elv.js"></script>
<script>try{Typekit.load();}catch(e){}</script>
<?php wp_head(); ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/assets/css/site.css" media="screen">
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/assets/css/print.css" media="print">
</head>
<body <?php body_class(); ?>>
<!-- Common Header Content -->
<div class="row header">
<div class="container">
<!-- Logo -->
<?php if(is_front_page()) { ?>
<h1>
<a class="logo" href="<?php bloginfo('url'); ?>/">
<img src="<?php bloginfo('stylesheet_directory'); ?>/assets/img/logo.png" alt="<?php bloginfo('name'); ?>" />
</a>
</h1>
<?php }else{ ?>
<h5>
<a class="logo" href="<?php bloginfo('url'); ?>/">
<img src="<?php bloginfo('stylesheet_directory'); ?>/assets/img/logo.png" alt="<?php bloginfo('name'); ?>" />
</a>
</h5>
<?php } ?>
<!-- Menu Icon (for mobile) -->
<a href="#mainNav" class="menu-link icon-menu button primary"><span><span class="verbose">Menu</span></span></a>
<!-- User Login/Details -->
<div class="userDetails">
<?php if (!is_user_logged_in()) : ?>
<a href="/login" class="button primary">
<span class="icon-lock-open">Sign In</span>
</a>
<a href="/register" class="button primary">
<span class="icon-user">Register</span>
</a>
<?php else : ?>
<span class="button profile-nav">
<span class="icon-user">Welcome Back <?php echo get_user_meta(get_current_user_id(), 'first_name', true); ?></span>
<nav class="profile-dropdown">
<a href="/your-profile">My Profile</a>
<a href="<?php echo wp_logout_url(get_bloginfo('url')); ?>" title="Log out of this account">Log out</a>
</nav><!--/profile-dropdown-->
</span>
<a href="/bookmarks" class="button primary my-bookmarks">
<span class="icon-lock"><span class="verbose">My </span>Bookmarks<span class="verbose"> (<span class="bookmark-count"><?php echo get_bookmark_count(); ?></span>)</span></span>
</a>
<?php endif; ?>
</div>
<!-- Main Nav -->
<div class="menu" id="mainNav">
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</div>
<!-- Search -->
<?php get_template_part( 'searchform', 'top' ); ?>
</div>
</div>
- Output for 7.0.0
- Parse error: syntax error, unexpected ''|'' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ')' in /in/Q2biK on line 21
Process exited with code 255. - Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
- Parse error: syntax error, unexpected ''|'' (T_CONSTANT_ENCAPSED_STRING) in /in/Q2biK on line 21
Process exited with code 255.
preferences:
169.67 ms | 1395 KiB | 24 Q