Permalink
Browse files

fixes header

  • Loading branch information...
Ricardo Rauch
Ricardo Rauch committed Aug 1, 2012
1 parent fd52c66 commit 072a981ebcfa95119b8c02be26bfc48e090e23d6
Showing with 39 additions and 2 deletions.
  1. +19 −1 .gitignore
  2. +20 −1 wp-content/themes/svbtle/header.php
View
@@ -1 +1,19 @@
.DS_Store
.DS_Store
.htaccess
wp-*.php
xmlrpc.php
wp-admin/
wp-includes/
wp-content/uploads/
wp-content/blogs.dir/
wp-content/upgrade/*
wp-content/backup-db/*
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
wp-content/cache/*
wp-content/cache/supercache/*
sitemap.xml
sitemap.xml.gz
readme.html
license.txt
index.php
@@ -7,7 +7,26 @@
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.5, minimum-scale=0.5">
<title><?php bloginfo( 'name' ); ?></title>
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( 'by', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ' by ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php

0 comments on commit 072a981

Please sign in to comment.