-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathheader.php
30 lines (25 loc) · 1.03 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
<?php
/**
*
* This is the template for the header
*
* @package perfectPortfolio
**/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> >
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:url" content="<?php global $wp;echo esc_url( home_url( $wp->request ) ); ?>" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Check my wordpress website" />
<meta property="og:description" content="" />
<meta property="og:image" content="<?php global $wp;echo esc_url( home_url( $wp->request ) ); ?>" />
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if( is_singular() && pings_open( get_queried_object() ) ): ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>
<?php wp_head(); ?>
</head>
<body <?php $class = ""; if( is_single() ){ $class = "single-body"; } body_class( $class ); ?>>