Custom Header Tag for WordPress

As brilliant as I think WordPress is I do feel that there are a few features that do need to be addressed. One of the big areas of SEO that I feel WordPress lacks is the simple ability to use custom H tags (H1, H2 etc...). The H1 tag is arguably a very big part of SEO when it comes to inserting keywords into a web page ...

Read Full Article

Rise of the Machines

Over the past few years i've only really got into computer games. Although while growing up I was lucky enough to own a few consoles including the Master System with the amazing Alex the Kid built in and the Megadrive with Sonic the Hedgehog. It is only the past year that I have brought out the kid in me and brought an ...

Read Full Article

Santa Pod Drag Racing

A few months ago a friend ask me if I wanted to go to see some drag racing at Santa Pod Raceway near Northampton, UK. Now I love cars and certainly fast expensive cars but having never been to or seen drag racing before I was curious so I decided to give it a go. The day was filled with Methanol fueled 300mph 8000bh ...

Read Full Article

Previous Tab
Next Tab
1 2 3
  • featured
  • featured
  • featured
  • featured
4

custom-header-imgAs brilliant as I think WordPress is I do feel that there are a few features that do need to be addressed. One of the big areas of SEO that I feel WordPress lacks is the simple ability to use custom H tags (H1, H2 etc…). The H1 tag is arguably a very big part of SEO when it comes to inserting keywords into a web page so surely it makes sense to be able to choose what the tag itself says.

With the help of the custom fields however there is an easy way:

Find: (in your page.php for example)

<?php the_title(); ?>

And replace with:

<h1><?php $thisPost = $post -> ID; if (get_post_meta($thisPost, changeH1, true) !=null)
{ echo (get_post_meta($thisPost, changeH1, true)); }
else { the_title(); }
?></h1>

Next open up the page where you would like the custom header and in the ‘Custom Fields’ section enter the following details:

Name: changeH1
Value: Whatever you want!

Et voilĂ , you can now have any H1 that you need. This is very useful for SEO reasons … Trust me!

4 Responses to “Custom Header Tag for WordPress”

  1. Media Street says:

    Thanks for the info. I use ALL-IN-ONE SEO plug in on Wordpress. I’d recommend it. But the work around for title tags provided above is good.

  2. Nick says:

    Not so much a comment about Wordpress but about Header tags; whilst I’ve never doubted their use as a structuring tool for web design, I am still not convinced that for SEO purposes their use is essential.

    Bing certainly takes more notice of them more than Google, and in fact it appears that Google may be ignoring certain H tags due to their overuse by dodgy webmasters.

    An interesting article I came across this morning, not sure if I can do a linky so you’ll have to copy and paste:
    http://www.webproworld.com/google-discussion-forum/95014-main-differences-optimizing-google-compared-other-ses.html

  3. Administrator says:

    No problem, as soon as I have more tips I will add them. I hope they help =)

  4. Orlando Web Designing says:

    Thanks for your information. Please keep posting more tips for word press sites.

Leave a Reply

TOP OF PAGE

Derby Web Design by Tristar Web Design - © Copyright 2010

Entries (RSS) and Comments (RSS) - Proudly powered by WordPress - Theme by Tristar Web Design