How to Beautify WordPress In 10 Minutes
May 26, 2014
13 Best and Modern Responsive Real Estate WordPress Themes 2014
May 29, 2014

Changing Twenty Twelve become SEO friendly

One of WordPress default theme is Twenty Twelve. With the standard WordPress features generally coupled with its ability to adjust to the user makes a wide-screen monitor, we no longer need to bother installing plugins that support mobile blog.

post-formats

But there is one small weakness that may be overlooked by developers that excessive use of the H1 tag. On the front page, all the title of the article using the h1 tag. It certainly is not good in terms of SEO blogs.

To handle it, very easily. We simply change the h1 tag into h2. The trick, open the content.php file and find this code:

[sourcecode language=”plain”]
<h1 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( ‘Permalink to %s’, ‘twentytwelve’ ), the_title_attribute( ‘echo=0’ ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
[/sourcecode]

Precisely in rows 22-24. If you have found, replace h1 with h2 so that it becomes like this:

[sourcecode language=”plain”]
<h2 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( ‘Permalink to %s’, ‘twentytwelve’ ), the_title_attribute( ‘echo=0’ ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
</h2>
[/sourcecode]

Don’t worry about the display will be a mess because it is protected by a class. Thus, although the tag changes will not affect his class.

That’s it. Wish it is usefull.

putracode
putracode
Welcome to Wordpress Mind! We aim to be a source of quality information free WordPress themes for WordPress lovers all around the world.

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA HERE * Time limit is exhausted. Please reload the CAPTCHA.