What Heading Should I use or not use!

Discussion in 'Search Engine Optimization' started by wd_2k6, Apr 25, 2008.

  1. #1
    Hi, I was wondering on my Wordpress Category pages, it lists my posts with a small description.

    The title of the post is obviously linked to the post.

    What should I put the title of the post inside? Strong tags, H2/H3 ??

    I read you really shouldn't repeat these tags and it is a category page it has the list of posts so there would be avout 9/10 titles on a cat page. Should i just leaved the titles untouched?

    Remeber I am talking about category page, i know titles should be in H1 on the post page.
     
    wd_2k6, Apr 25, 2008 IP
  2. chris265

    chris265 Peon

    Messages:
    702
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would leave them untouched. Let the search engines decide what is the term they want to list page for.
     
    chris265, Apr 25, 2008 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Assuming the title of the page is the category archive, you'd be best off using an H2 heading for the post titles.

    Here's the archive.php file I'm using for a WordPress Theme I wrote - while based off of Kubrick, it does have some notable differences:

    
    <?php get_header(); ?>
    
    	<div id="content">
    		<div class="wrapper">
    		<?php if ( have_posts() ) : ?>
    			<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    			<?php /* If this is a category archive */ if (is_category()) { ?>				
    			<h1><?php echo single_cat_title(); ?></h1>
    			<p>Below are links to articles posted in <strong><?php echo single_cat_title(); ?></strong>.</p>
    
    			<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    			<h1><?php bloginfo('name'); ?> Archive for <?php the_time('F jS, Y'); ?></h1>
    			<p>Below are links to articles posted on <strong><?php the_time('F jS, Y'); ?></strong>.</p>
    
    			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    			<h1><?php bloginfo('name'); ?> Archive for <?php the_time('F Y'); ?></h1>
    			<p>Below are links to articles posted in <strong><?php the_time('F Y'); ?></strong>.</p>
    
    			<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    			<h1><?php bloginfo('name'); ?> Archive for <?php the_time('Y'); ?></h1>
    			<p>Below are links to articles posted in the year <strong><?php the_time('Y'); ?></strong>.</p>
    
    			<?php /* If this is an author archive */ } elseif (is_author()) { ?>
    			<h1><?php bloginfo('name'); ?> Author Archive</h1>
    			<p>Below are links to articles written by <strong><?php the_author('namefl'); ?></strong>.</p>
    
    			<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    			<h1><?php bloginfo('name'); ?> Blog Archives</h1>
    
    			<?php } ?>
    <?php while (have_posts()) : the_post(); ?>
    			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php single_cat_title(); ?> &raquo; <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    			<?php the_excerpt() ?>
    
    			<?php endwhile; ?>
    
    			<ul id="previous-next">
    				<li><?php next_posts_link('&laquo; Previous Entries') ?></li>
    				<li><?php previous_posts_link('Next Entries &raquo;') ?></li>
    			</ul>
    			<?php else : ?> 
    			<?php include (TEMPLATEPATH . '/404.php'); ?>         
    			<?php endif; ?>
    
    			<p>
    				<a class="skip" href="#top" title="Go to the top of this page">Top of page...</a>
    			</p>
    		</div>
    	</div>
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    
    PHP:
     
    Dan Schulz, Apr 25, 2008 IP
  4. wissam

    wissam Well-Known Member

    Messages:
    2,289
    Likes Received:
    78
    Best Answers:
    1
    Trophy Points:
    185
    #4
    wissam, Apr 25, 2008 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Good article, but damn if it's not hard to read without bumping up the text size four times.
     
    Dan Schulz, Apr 25, 2008 IP
  6. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hey thanks for this I will give it a try. I've also been building my template off the Kurbrick theme, i'm using it as a Category Homepage rather than a Category Archive.

    On this note Dan, I remember before you talked about how you were developing a semantic SEO friendly theme, did you ever finish this, and is it obtainable?

    Hey this is a good article also, many thanks although I agree I had to highlight the text with the mouse to read it!! To be honest I am going to scrap all appeareances of Tags completley off my theme so that they appear nowhere as they don't really have a use to me, unless somebody can justify a good reason why I should keep them, i'm all ears!!
     
    wd_2k6, Apr 26, 2008 IP
  7. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #7
    OR, someone is just turning 29 in less than 24 hours... :eek: :p
     
    astup1didiot, Apr 26, 2008 IP
  8. bs1

    bs1 Peon

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I use h1 tags on my category pages because my categories are all my top keywords. Google seems to like it.
     
    bs1, Apr 26, 2008 IP
  9. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Kubrick (the Theme, not the man) sucks, which is why I wrote my own. Speaking of my own, it's technically finished, I just need to write the layout styles and the documentation for it. Once that's done, and I decide on a design for the site, it will be made publicly available under the GPL.

    I'll remember that when you turn 25, old man.:p ;)
     
    Dan Schulz, Apr 26, 2008 IP