Hello!
It seems that in this particular template the more is hard coded. Though I am not a PHP guru by any means and am not sure. Unfortunately, this is for a client who came to me with template in place and changing is not an option.
I have found the bit of code in the index.php file that controls the posting, and it is as follows:
<!--Begin Post Single-->
<div class="entry">
<?php // if there's a thumbnail
if($thumb !== '') { ?>
<div class="thumbnail-div">
<img src="<?php echo $thumb; ?>" width="573px" height="187px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
</div>
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
<div class="post-info">Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '40') ?></a></span>
<?php the_content_limit(300, ""); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>
</div>
</div>
<!--End Post Single-->
I did some research (similar to what you have posted tomontoast)on how to change this and I applied a change to supposedly show all the content of the post. Here is the code from the index.php file:
<!--Begin Post Single-->
<div class="entry">
<?php // if there's a thumbnail
if($thumb !== '') { ?>
<div class="thumbnail-div">
<img src="<?php echo $thumb; ?>" width="573px" height="187px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
</div>
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
<div class="post-info">Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '40') ?></a></span>
<?php the_content(); ?>
</div>
</div>
<!--End Post Single-->
This unfortunately, not working to get me an entire post instead of the teaser text that shows with the "Read More"
Can anyone see where I might have made an error ammending the code and if so what can I do to fix it so that the entire contents of a post will show on the front page of the blog?
Just in case it helps, here is the code for the index.php file:
<?php get_header(); ?>
<div id="container">
<div id="left-div">
<div id="left-inside">
<?php if (have_posts()) : while (have_posts()) : the_post();
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
<?php
// check for thumbnail
$thumb = get_post_meta($post->ID, 'Thumbnail', $single = true);
// check for thumbnail class
$thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true);
// check for thumbnail alt text
$thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true);
?>
<div class="home-post-wrap">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/delete.gif" alt="delete" class="delete" style="float: right; margin-top: -5px; margin-right: -5px; cursor: pointer;" />
<div style="clear: both;"></div>
<!--Begin Post Single-->
<div class="entry">
<?php // if there's a thumbnail
if($thumb !== '') { ?>
<div class="thumbnail-div">
<img src="<?php echo $thumb; ?>" width="573px" height="187px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
</div>
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
<div class="post-info">Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '40') ?></a></span>
<?php the_content(); ?>
</div>
</div>
<!--End Post Single-->
<?php endwhile; ?>
<div style="clear: both;"></div>
<p class="pagination"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<!--If there are no results-->
<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>
<!--End if there are no results-->
<?php endif; ?>
</div>
</div>
<!--Begin Sidebar-->
<?php get_sidebar(); ?>
<!--End Sidebar-->
<!--Begin Footer-->
<?php get_footer(); ?>
<!--End Footer-->
</body>
</html>
Thanks so much! :)