Homepage title shows cateogry not description
-
I’m using the All In One SEO plugin and have put in the homepage Title and Description. I’ve also changed the title and description in the General settings in WP. However, the homepage of the site I’m working on still shows the category in the title bar.
I’m using a custom post query on the homepage and assume that’s where the problem lies, I just don’t know how to fix it.
If you need it, here’s the query being used:
<?php $i=0; query_posts('cat=19&posts_per_page=4') ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); $i++; if($i%4==0){ $class='none';} else $class=''; $getName = get_post_meta($post->ID,'Name',false);?> <li class="<?php echo $class;?>"> <?php if (has_post_thumbnail( $post->ID )) : ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> <img src="<?php echo $image[0]; ?>" width="50" height="50" alt="" /> <?php endif;?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Homepage title shows cateogry not description’ is closed to new replies.