5 Star 11 Fork 2

Song/eyas_ghost

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
header.php 3.12 KB
一键复制 编辑 原始数据 按行查看 历史
Song 提交于 2014-12-08 09:47 . gix search bug
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php bloginfo('description'); ?>">
<meta name="keywords" content="<?php bloginfo('description'); ?>">
<meta name="author" content="Eyas">
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<title><?php ey_seo_title(); ?></title>
<link href="<?php bloginfo('template_directory'); ?>/style/css/bootstrap.min.css" rel="stylesheet">
<link href="<?php bloginfo('template_directory'); ?>/style/css/font.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style/css/main.min.css" />
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="<?php bloginfo('template_directory'); ?>/style/js/html5shiv.min.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/style/js/respond.min.js"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<body class="home-template custom-bg" style="background-image: url(<?php bloginfo('template_directory'); ?>/style/images/bg.jpg)">
<nav class="navbar navbar-ghost" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#global-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="global-navbar">
<?php ey_the_menu('main_menu'); ?>
<form action="<?php echo home_url('/'); ?>" class="navbar-form search-form">
<input type="text" class="form-control" name="s" value="<?php echo $_GET['s']; ?>" placeholder="搜索">
</form>
</div>
</div>
</nav>
<?php if(is_home()||is_front_page()): ?>
<header id="logo" class="container">
<div class="row">
<div class="col-lg-8 col-lg-push-2">
<h1 class="blog-title">
<a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>
</h1>
<h2 class="blog-desc">
<a href="<?php bloginfo('url'); ?>"><?php bloginfo('description'); ?></a>
</h2>
<div class="social">
<a class="btn btn-outline btn-lg" href="<?php echo home_url('/about'); ?>">关于我</a>
<a class="btn btn-outline btn-lg" href="http://git.oschina.net/yuesong">git仓库</a>
</div>
</div>
</div>
</header>
<?php endif; ?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/yuesong/eyas_ghost.git
git@gitee.com:yuesong/eyas_ghost.git
yuesong
eyas_ghost
eyas_ghost
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385