I am actually using the below code for this now & all is working fine, except for the length of text for each article. I want to be able to have around 500 words show up on the homepage for each article (or maybe less depending on how it looks). However right now it is only showing about 60 words & no matter what I do it will not show anymore. It will however show less if I change it to say 10.
<?php
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query(‘showposts=5′.’&paged=’.$paged);
?>
<?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<header>
<h2 class=”title”>” title=”<?php the_title(); ?>” rel=”bookmark”><?php the_title(); ?></h2>
<div class=”post-meta”>
<div class=”fleft”>Posted in: <?php the_category(‘, ‘) ?> | <time datetime=”<?php the_time(‘Y-m-d\TH:i’); ?>”><?php the_time(‘F j, Y’); ?> at <?php the_time() ?></time> , by <?php the_author_posts_link() ?></div>
<div class=”fright”><?php comments_popup_link(‘No comments’, ‘One comment’, ‘% comments’, ‘comments-link’, ‘Comments are closed’); ?></div>
</div><!–.post-meta–>
</header>
<?php echo ‘<div class=”featured-thumbnail”>’; the_post_thumbnail(); echo ‘</div>’; ?>
<div class=”post-content”>
<div class=”excerpt”><?php $excerpt = get_the_excerpt(); echo my_string_limit_words($excerpt,500);?></div>
” class=”link”>Read more
</div>
<footer>
<?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?>
</footer>
</article>
<?php endwhile; ?>