Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplify wp_title()

We recommend you use the WordPress SEO plugin for <title> management
  • Loading branch information...
commit b7dd06418f877281c20a87be2ddff6d70393f9e3 1 parent 452a2f3
@retlehs retlehs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/head.php
View
2  templates/head.php
@@ -5,7 +5,7 @@
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta charset="utf-8">
- <title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
+ <title><?php wp_title(''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head(); ?>

2 comments on commit b7dd064

@LeoColomb

Well, seems to be good but return the URL on Home page, instead of blog name.

@retlehs
Owner

good catch, fixed with 9fc2eb7

Please sign in to comment.
Something went wrong with that request. Please try again.