How To Resolve The Artisteer 3 Header Issue

As you know, Artisteer 3 is great software to create professional templates for WordPress driven websites. I already wrote a review of the newest version. If you read that review, you’ll know that there was 1 minor issue, and that’s the use of header tags in Artisteer 3.

UPDATE January 7th 2012: in the newest version 3.1 there is a built-in solution to solve this problem without having to change the code. You can read that article here.

In this article I’ll show you how you can easily resolve this problem yourself! All you need is a little knowledge of html / php and css.

What’s the importance of Header tags?

We use header tags to define the titles in a web page. The most important header tag is the H1-tag. Then you have H2-tags, H3-tags, H4-tags,… When Google indexes a page of your blog or web site, one of the first things Google checks is the H1-tag because the H1-tag should be the most important title of your page.

You can take advantage of this and give every page a unique title (= a short description where the page’s about) between the H1-tags. Using the header tags the right way will result in a higher place in the Google search results! 

On the other hand, if every page has the same title between the H1-tags, then it’s not clear for Google what the page is about. This will result in a lower place in the Google search results. And that’s the problem of Artisteer 3, it places the blog title between H1-tags.

The use of Header Tags in Artisteer 3:

Artisteer 3 bad header tags

Out of the box, Artisteer 3 uses a H1-tag for the blog title and a H2-tag for the article title. The focus is on the blog title (WordPressNinja Demo) which has the H1-tags. Also take a look at the subtitle of our blog title (Local WordPressNinja Demo) which has H2-tags.

The way it should be:

Artisteer 3 good headers

The right way to use the header tags is to use the H1-tag for the article title, so the article title gets the focus! Title and subtitle of the blog are between span-tags.

How to resolve this?

Before we start to change our Artisteer 3 headers…

To change these files, you need an html editor. You can use an external editor, but the build in editor also does the job just fine! You can find this editor under “Appearance” in the left menu (1).

WordPress Editor

On the right you can choose which file (template) you want to edit (2). The selected template appears in the editor screen (3). Save your changes by clicking on the “Update File”-button (4)

Step 1: create a copy of your theme!

First of all, before you start, be sure you have a copy of your current theme. If not, make one! If something goes wrong, you still have the original theme.

Step 2: Changing the blog title and subtitle

Nex,t we are going to change the code of the blog title and subtitle.

Open Header.php and look for this line:

<h1 class=”art-logo-name”><a href=”<?php echo get_option(‘home’); ?>/”><?php bloginfo(‘name’); ?></a></h1>

Replace the H1-tags by SPAN-tags, like this:

<span id=”a-title” class=”art-logo-name”><a href=”<?php echo get_option(‘home’); ?>/”><?php bloginfo(‘name’); ?></a></span>

Don’t forget to add an id to the span tag!

Do the same for the H2-tags; look for the following line:

<h2 class=”art-logo-text”><?php bloginfo(‘description’); ?></h2>

And replace the H2-tags by SPAN-tags like this:

<span id=”a-subtitle” class=”art-logo-text”><?php bloginfo(‘description’); ?></span>

Don’t forget to add an id to the span tag!

Now we still have the change the css, so open the Styelesheet (style.css).

  • Search for h1.art-logo-name and replace it everywhere by span.art-logo-name
  • Search for h2.art-logo-text and replace it everywhere by span.art-logo-text

Step 3: Chaning the article title

Open wrappers.php and find the following code:

<h2 class=”art-postheader”>’.$title.’</h2>

And replace the H2-tags by H1-tags:

<h1 class=”art-postheader”>’.$title.’</h1>

Conclusion

As you can see it’s easy to improve your blog’s and page’s SEO. It’s a pitty Artisteer 3 still does it wrong because it’s less good for SEO. But by following these steps you’re able to solve the Artisteer 3 header issue yourself!

Download a free trial of Artisteer 3

You can download a free trial of Artisteer 3 here

 

Related Posts

About Nico Julius

Nico is a teacher, developer and likes to share his ideas and vision on WordPressNinja.Com
  • BurningRubber

    Hi nico i was just wondering if you also found out how to remove flash headers in a artisteer generated theme? i made a flash header and it shows on all pages and post, what i want is to show the header on the homepage only. It wouold be a great help if you reply on my inquiry. Thank you and more power.

    • http://www.wordpressninja.com Nico Julius

      Hi BurningRubber, what you could do is create an extra page template within your theme. I don’t know if you have experience with this?
      Nico

  • http://www.acnereliefclinic.com SDavenport

    Hey Nico;
    When changing from h1 to span my header image then converts to regular sized text, no longer bold or 30 pt. Any suggestions? Do I need to add additional html in the same line of code?

    • http://www.wordpressninja.com Nico Julius

      Did you add an id to the span tags? Without the id, nothing happens.

  • http://twitter.com/fscheps Fernando Scheps

    Nico, thanks a lot for your guide, do you have any guide to:

    - Get to insert more images on the header through Artisteer? I can only set 1 background and 1 image.
    - I also need to change the footer for a more modern one, for example having something like my site map.

    I am not a designer nor a developer so coding its not my strength :)

    Thanks a lot for your tutoriales, they make everything much much better.

  • Tim

    NIco,
    Do we have to fix the header tags for every theme that we create or this fix will apply to all the theme that we’ll be creating?

    Please advise.

    • http://www.wordpressninja.com Nico Julius

      Hi Tim, you don’t “have to” fix it for every theme you create, it just makes your theme better for SEO.
      And yes, you have to do this for every theme you create…
      I know, it’s not that handy, but at Artisteer they made this choice for certain reasons. I don’t agree, but I don’t have anything to say at Artisteer :-) .

  • Sally

    Hi Nico, I’m new to all of this and someone suggested I use the Artisteer software since I don’t have any technical knowledge. In searching for the pros and cons of this software I learned about this issue and somehow found your site. I have a question on your statement “Don’t forget to add an id to the span tag!” How exactly would the code below look if an “id span tag” was added if you were making the adjustment for say, this site.

    <a href=”/”>

    • http://www.wordpressninja.com Nico Julius

      Hi Sally, in the example in this article, the id is added. So you just have to copy-paste.
      Nico

  • Tsatsos007

    is that for drupal as well?

    • http://www.wordpressninja.com Nico Julius

      Hi Tsatos, I’m not sure. If you have a Drupal site and an Artisteer theme, you may always mail me, and then I’ll have a quick look. Nico

  • http://twitter.com/int3riordeziner int3riordeziner

    Hi, this has been so useful to me, thanks so much. I have just upgraded to 3.01 artisteer and I now can’t find how to change that, it seems to use this now in the header.

    < class=”art-logo-name”><a href="/”></>

    < class=”art-logo-text”></>

  • http://twitter.com/int3riordeziner int3riordeziner

    the code obviously didn’t show up sorry.

    • http://www.wordpressninja.com/ Nico Julius

      Hi, did you already resolved this problem? Otherwise, just send me a message through the contact form if the code below didn’t show up.